bots.RequestedButton#

class pyrogram.raw.types.bots.RequestedButton#

Contains the request ID a bot should pass to a Mini App after preparing a peer request button with bots.requestWebViewButton, see here for more info.

Constructor of RequestedButton.

Details:
  • Layer: 227

  • ID: F13BBCD7

Parameters:

webapp_req_id (str) – Mini App request ID, to be passed by the bot to the Mini App and then back to bots.getRequestedWebViewButton and messages.sendBotRequestedPeer

Functions:

This object can be returned by 1 function.

bots.RequestWebViewButton

Bots may use this method to prepare a peer request button for a Mini App, see here for more info.