telegram api constructor · layer 229 · #c516d679
messageActionBotAllowed
We have given the bot permission to send us direct messages.
definition
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 |
|---|---|---|
flags | # | Flags, see TL conditional fields |
attach_menu | true | We have authorized the bot to send us messages by installing the bot's attachment menu. |
from_request | true | 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 | BotApp | We have authorized the bot to send us messages by opening the specified bot mini app. |
type
MessageAction · 68 other constructors
history
present in layers 76–229 · constructor id changed 1×
| id | layers |
|---|---|
| #abe9affe | 76–153 |
| #c516d679 | 154–229 |