Optional
compact?: 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
.
Optional
startParam?: stringStart parameter from the deep link for the mini app
URL of the mini app found in the button
Optional
compact?: 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
.
Optional
fireAndForget?: 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.
Optional
replyTo?: number | tl.TypeInputReplyToID of the message to which we should reply if the mini app asks to do so
Optional
sendAs?: InputPeerLikePeer to use when sending the message.
Optional
silent?: booleanIf the mini app asks to send a message, whether to send it silently
URL of the mini app found in the button
Optional
compact?: 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
.
Optional
fireAndForget?: 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.
Optional
replyTo?: number | tl.TypeInputReplyToID of the message to which we should reply if the mini app asks to do so
Optional
sendAs?: InputPeerLikePeer to use when sending the message.
Optional
silent?: booleanIf the mini app asks to send a message, whether to send it silently
Optional
allowWrite?: booleanIf the bot is asking permission to send messages to the user, whether to allow it to do so
Optional
compact?: 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
.
Optional
fireAndForget?: 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)
Optional
startParam?: 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