Optionalcompact?: booleanIf set, requests to open the mini app in compact mode (as opposed to fullview mode).
Must be set if the mode parameter of the Main Mini App link is equal to compact.
OptionalstartParam?: stringStart parameter from the deep link for the mini app
URL of the mini app found in the button
Optionalcompact?: booleanIf set, requests to open the mini app in compact mode (as opposed to fullview mode).
Must be set if the mode parameter of the Main Mini App link is equal to compact.
OptionalfireAndForget?: booleanTelegram asks us to keep sending messages.prolongWebView requests every minute until the webview is closed.
If this parameter is set to true, the timer will not be started, and the webview will never be prolonged.
OptionalreplyTo?: number | tl.TypeInputReplyToID of the message to which we should reply if the mini app asks to do so
OptionalsendAs?: InputPeerLikePeer to use when sending the message.
Optionalsilent?: booleanIf the mini app asks to send a message, whether to send it silently
URL of the mini app found in the button
Optionalcompact?: booleanIf set, requests to open the mini app in compact mode (as opposed to fullview mode).
Must be set if the mode parameter of the Main Mini App link is equal to compact.
OptionalfireAndForget?: booleanTelegram asks us to keep sending messages.prolongWebView requests every minute until the webview is closed.
If this parameter is set to true, the timer will not be started, and the webview will never be prolonged.
OptionalreplyTo?: number | tl.TypeInputReplyToID of the message to which we should reply if the mini app asks to do so
OptionalsendAs?: InputPeerLikePeer to use when sending the message.
Optionalsilent?: booleanIf the mini app asks to send a message, whether to send it silently
OptionalallowWrite?: booleanIf the bot is asking permission to send messages to the user, whether to allow it to do so
Optionalcompact?: booleanIf set, requests to open the mini app in compact mode (as opposed to fullview mode).
Must be set if the mode parameter of the Main Mini App link is equal to compact.
OptionalfireAndForget?: booleanTelegram asks us to keep sending messages.prolongWebView requests every minute until the webview is closed.
If this parameter is set to true, the timer will not be started, and the webview will never be prolonged.
Short name of the app (from the link)
OptionalstartParam?: stringStart parameter from the deep link for the mini app
Information about the mini app for openWebview method
main- the "main" mini-app, configured via BotFatherfrom_reply_keyboard- webview button found in reply keyboardsfrom_switch_inline- webview button found at the top of inline resultsfrom_side_menu- webview button found in the side menufrom_inline_keyboard- webview button found in inline keyboardsfrom_bot_menu- webview button found in bot menusfrom_attach_menu- webview button found in attachment menusfrom_link- webview opened via direct links