StaticGramBot API

WriteAccessAllowed

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.

Поля

from_requestBooleanoptional
True, if the access was granted after the user accepted an explicit request from a Web App sent by the method requestWriteAccess
web_app_nameStringoptional
Name of the Web App, if the access was granted when the Web App was launched from a link
from_attachment_menuBooleanoptional
True, if the access was granted when the bot was added to the attachment or side menu

Где используется

Типы

Описания методов и типов взяты из официальной документации Telegram Bot API (Bot API 10.3). Адрес API: https://api.staticgram.top