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

nametypedescription
flags#Flags, see TL conditional fields
attach_menuflags.1?trueWe have authorized the bot to send us messages by installing the bot's attachment menu.
from_requestflags.3?trueWe have allowed the bot to send us messages using bots.allowSendMessage ».
domainflags.0?stringWe 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.
appflags.2?BotAppWe 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×

idlayers
#abe9affe76–153
#c516d679154–229