bots.GetRequestedWebViewButton#

class pyrogram.raw.functions.bots.GetRequestedWebViewButton#

Fetch the peer request button a bot prepared for a Mini App with bots.requestWebViewButton, invoked when the Mini App emits a web_app_request_chat event, see here for more info.

Usable by Users Bots
Details:
  • Layer: 227

  • ID: BF25B7F3

Parameters:
  • bot (InputUser) – The bot that owns the Mini App

  • webapp_req_id (str) – The Mini App request ID, taken from the web_app_request_chat event’s req_id

Returns:

KeyboardButton