TgKit library and website are still in early development!

WriteAccessAlowed Interface

Properties

fromAttachmentMenu boolean

*true*, if the access was granted when the bot was added to the attachment or side menu

See the code

fromRequest boolean

*true*, if the access was granted after the user accepted an explicit request from a Web App

See the code

webAppName string

Name of the Web App, if the access was granted when the Web App was launched from a link

See the code