MadelineProtoDocs/docs/API_docs/constructors/messages.botApp.md
2024-05-01 14:53:46 +02:00

1.4 KiB

title description nav_exclude image redirect_from
messages.botApp Contains information about a direct link Mini App true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/messages_botApp.html

Constructor: messages.botApp

Back to constructors index

Contains information about a direct link Mini App

Attributes:

Name Type Required Description
inactive Bool Optional Whether the web app was never used by the user, and confirmation must be asked from the user before opening it.
request_write_access Bool Optional The bot is asking permission to send messages to the user: if the user agrees, set the write_allowed flag when invoking messages.requestAppWebView.
has_settings Bool Optional Deprecated flag, can be ignored.
app BotApp Yes Bot app information

Type: messages.BotApp

Example:

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