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.

messageActionBotAllowed#c516d679 flags:# attach_menu:flags.1?true domain:flags.0?string app:flags.2?BotApp = MessageAction;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
attach_menu flags.1?true We have authorized the bot to send us messages by installing the bot's attachment menu.
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 web app.

Type

MessageAction

Related pages

Bot attachment menu entries

Bots can install attachment menu entries, offering conveniently accessible, versatile web apps.

Telegram Login Widget

Bot web apps

Bots can offer users interactive HTML5 web apps to completely replace any website.