messages.RequestAppWebView#

class pyrogram.raw.functions.messages.RequestAppWebView#

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

Details:
  • Layer: 158

  • ID: 8C5A3B3C

Parameters:
  • peer (InputPeer) – If the client has clicked on the link in a Telegram chat, pass the chat’s peer information; otherwise pass the bot’s peer information, instead.

  • app (InputBotApp) – The app obtained by invoking messages.getBotApp as specified in the named Mini App deep link docs.

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

  • write_allowed (bool, optional) – Set this flag if the bot is asking permission to send messages to the user as specified in the named Mini App deep link docs, and the user agreed.

  • start_param (str, optional) – If the startapp query string parameter is present in the named Mini App deep link, pass it to start_param.

  • theme_params (DataJSON, optional) – Theme parameters.

Returns:

AppWebViewResult