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.
Method schema is available as of layer 224. Switch »
| Name | Type | Description |
|---|---|---|
| bot | InputUser | The bot that owns the Mini App |
| webapp_req_id | string | The Mini App request ID, taken from the web_app_request_chat event's req_id |
| Code | Type | Description |
|---|---|---|
| 400 | BOT_ID_INVALID | |
| 400 | WEBAPP_REQ_ID_INVALID |
How telegram apps interact with webpages
Bots can offer users interactive HTML5 web apps to completely replace any website.
Bots may use this method to prepare a peer request button for a Mini App, see here » for more info.
Users can interact with your bot via buttons or even inline buttons, straight from inline messages in any chat.