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.

Layer 223

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

Bot attachment menu and side menu entries #

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

bots.allowSendMessage #

Allow the specified bot to send us messages

Telegram Login Widget #

Mini Apps on Telegram #

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