Link Search Menu Expand Document

Constructor: messages.botApp

Back to constructors index

Contains information about a direct link Mini App

Attributes:

NameTypeRequiredDescription
inactiveBoolOptionalWhether the web app was never used by the user, and confirmation must be asked from the user before opening it.
request_write_accessBoolOptionalThe bot is asking permission to send messages to the user: if the user agrees, set the write_allowed flag when invoking messages.requestAppWebView.
has_settingsBoolOptionalDeprecated flag, can be ignored.
appBotAppYesBot app information

Type: messages.BotApp

Example:

$messages_botApp = ['_' => 'messages.botApp', 'inactive' => Bool, 'request_write_access' => Bool, 'has_settings' => Bool, 'app' => BotApp];