Layer 227
MessageActionBotAllowed
We have given the bot permission to send us direct messages.
constructor
messageActionBotAllowed#c516d679 flags:# attach_menu:flags.1?true from_request:flags.3?true domain:flags.0?string app:flags.2?BotApp = MessageAction;
Parameters
| Name | Type | Description |
|---|---|---|
| AttachMenu | flags .1? true | We have authorized the bot to send us messages by installing the bot's attachment menu. |
| FromRequest | flags .3? true | We have allowed the bot to send us messages using bots. allow Send Message. |
| Domain | flags .0? 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 | flags .2? BotApp | We have authorized the bot to send us messages by opening the specified bot mini app. |
Returns
MessageActionGogram Example
// Creating MessageActionBotAllowed constructor obj := &tg.MessageActionBotAllowed{ AttachMenu: nil, FromRequest: nil, Domain: "Hello, World!", App: nil, }