Layer 227
BotsRequestedButtonObj
Contains the request ID a bot should pass to a Mini App after preparing a peer request button with bots. request Web View Button, see here for more info.
constructor
bots.requestedButton#f13bbcd7 webapp_req_id:string = bots.RequestedButton;
Parameters
| Name | Type | Description |
|---|---|---|
| WebappReqId | string | Mini App request ID, to be passed by the bot to the Mini App and then back to bots. get Requested Web View Button and messages. send Bot Requested Peer |
Returns
bots.RequestedButtonGogram Example
// Creating BotsRequestedButtonObj constructor obj := &tg.BotsRequestedButtonObj{ WebappReqId: "Hello, World!", }