messages.RequestMainWebView¶
- class pyrogram.raw.functions.messages.RequestMainWebView[source]¶
Open a Main Mini App.
Usable by Users Bots- Details:
Layer:
229ID:
C9E01E7B
- Parameters:
peer (
InputPeer) – Currently open chat, may be inputPeerEmpty if no chat is currently open.bot (
InputUser) – Bot that owns the main mini app.platform (
str) – Short name of the application; 0-64 English letters, digits, and underscorescompact (
bool, optional) – If set, requests to open the mini app in compact mode (as opposed to normal or fullscreen mode). Must be set if themodeparameter of the Main Mini App link is equal tocompact.fullscreen (
bool, optional) – If set, requests to open the mini app in fullscreen mode (as opposed to compact or normal mode). Must be set if themodeparameter of the Main Mini App link is equal tofullscreen.start_param (
str, optional) – Start parameter, if opening from a Main Mini App link ».theme_params (
DataJSON, optional) – Theme parameters »
- Returns: