messages.RequestAppWebView#

class pyrogram.raw.functions.messages.RequestAppWebView#

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

Details:
  • Layer: 187

  • ID: 53618BCE

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 direct 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 direct Mini App deep link docs, and the user agreed.

  • 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 direct Mini App deep link is equal to compact.

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

  • theme_params (DataJSON, optional) – Theme parameters »

Returns:

WebViewResult