-
static final class
The user accepted bot's request to send messages with
allowBotToSendMessages.
static final class
The user added the bot to attachment or side menu using
toggleBotIsAddedToAttachmentMenu.
static final class
The user connected a website by logging in using Telegram Login
Widget on it.
static final class
The user launched a Web App using getWebAppLinkUrl.
TdApi.MessageBotWriteAccessAllowed.reason
The reason why the bot was allowed to write messages.
The user allowed the bot to send messages.