messageActionBotAllowed
We have given the bot permission to send us direct messages. The optional fields specify how did we authorize the bot to send us messages.
type tg.MessageActionBotAllowed struct { /* ... */ }
Implements MessageAction.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
AttachMenu | bool | — | We have authorized the bot to send us messages by installing the bot's attachment menu. |
FromRequest | bool | — | We have allowed the bot to send us messages using bots.allowSendMessage ». |
Domain | string | — | We have authorized the bot to send us messages by logging into a website via Telegram Login »; this field contains the domain name of the website on which the user has logged in. |
App | BotAppClass | — | We have authorized the bot to send us messages by opening the specified bot mini app. |
References
- Official documentation
- Generated Go reference
- TL definition:
messageActionBotAllowed#c516d679