WebViewResultUrl#

class pyrogram.raw.types.WebViewResultUrl#

Contains the webview URL with appropriate theme and user info parameters added

Constructor of WebViewResult.

Details:
  • Layer: 187

  • ID: 4D22FF98

Parameters:
  • url (str) – Webview URL to open

  • fullsize (bool, optional) – If set, the app must be opened in fullsize mode instead of compact mode.

  • query_id (int 64-bit, optional) – Webview session ID (only returned by inline button mini apps, menu button mini apps, attachment menu mini apps).

Functions:

This object can be returned by 4 functions.

messages.RequestWebView

Open a bot mini app, sending over user information after user confirmation.

messages.RequestSimpleWebView

Open a bot mini app.

messages.RequestAppWebView

Open a bot mini app from a direct Mini App deep link, sending over user information after user confirmation.

messages.RequestMainWebView

Open a Main Mini App.