messages.RequestSimpleWebView#

class pyrogram.raw.functions.messages.RequestSimpleWebView#

Open a bot mini app.

Details:
  • Layer: 158

  • ID: 299BEC8E

Parameters:
  • bot (InputUser) – Bot that owns the mini app.

  • url (str) – Web app URL, if opening from a keyboard button or inline result.

  • platform (str) – Short name of the application; 0-64 English letters, digits, and underscores.

  • from_switch_webview (bool, optional) – Whether the webapp was opened by clicking on the switch_webview button shown on top of the inline results list returned by messages.getInlineBotResults.

  • theme_params (DataJSON, optional) – Theme parameters.

Returns:

SimpleWebViewResult