telegram api constructor · layer 229 · #eb50adf5

messages.botApp

Contains information about a direct link Mini App

definition

messages.botApp#eb50adf5 flags:# inactive:flags.0?true request_write_access:flags.1?true has_settings:flags.2?true app:BotApp = messages.BotApp;

parameters

nametypedescription
flags#Flags, see TL conditional fields
inactiveflags.0?trueWhether the web app was never used by the user, and confirmation must be asked from the user before opening it.
request_write_accessflags.1?trueThe bot is asking permission to send messages to the user: if the user agrees, set the write_allowed flag when invoking messages.requestAppWebView.
has_settingsflags.2?trueDeprecated flag, can be ignored.
appBotAppBot app information

type

messages.BotApp

history

present in layers 154–229

idlayers
#eb50adf5154–229