messages.RequestWebView#

class pyrogram.raw.functions.messages.RequestWebView#

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

Details:
  • Layer: 158

  • ID: 178B480B

Parameters:
  • peer (InputPeer) – Dialog where the web app is being opened, and where the resulting message will be sent (see the docs for more info »).

  • bot (InputUser) – Bot that owns the web app.

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

  • from_bot_menu (bool, optional) – Whether the webview was opened by clicking on the bot’s menu button.

  • silent (bool, optional) – Whether the inline message that will be sent by the bot on behalf of the user once the web app interaction is terminated should be sent silently (no notifications for the receivers).

  • url (str, optional) – Web app URL.

  • start_param (str, optional) – If the web app was opened from the attachment menu using a attachment menu deep link, start_param should contain the data from the startattach parameter.

  • theme_params (DataJSON, optional) – Theme parameters.

  • reply_to_msg_id (int 32-bit, optional) – N/A

  • top_msg_id (int 32-bit, optional) – N/A

  • send_as (InputPeer, optional) – Open the web app as the specified peer, sending the resulting the message as the specified peer.

Returns:

WebViewResult