messages.RequestMainWebView#

class pyrogram.raw.functions.messages.RequestMainWebView#

Open a Main Mini App.

Details:
  • Layer: 187

  • ID: 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 underscores

  • compact (bool, optional) – If 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.

  • start_param (str, optional) – Start parameter, if opening from a Main Mini App link ».

  • theme_params (DataJSON, optional) – Theme parameters »

Returns:

WebViewResult