Skip to content

GramIO API Reference / gramio/dist / TelegramWriteAccessAllowed

Interface: TelegramWriteAccessAllowed

Defined in: @gramio/types/out/objects.d.ts:2513

This object represents a service message about a user allowing a bot to write messages after adding it to the attachment menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method requestWriteAccess.

Documentation

Properties

PropertyTypeDescriptionDefined in
from_attachment_menu?booleanOptional. True, if the access was granted when the bot was added to the attachment or side menu@gramio/types/out/objects.d.ts:2525
from_request?booleanOptional. True, if the access was granted after the user accepted an explicit request from a Web App sent by the method requestWriteAccess@gramio/types/out/objects.d.ts:2517
web_app_name?stringOptional. Name of the Web App, if the access was granted when the Web App was launched from a link@gramio/types/out/objects.d.ts:2521