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 schema is available as of layer 224. Switch »
| Name | Type | Description |
|---|---|---|
| webapp_req_id | string | Mini App request ID, to be passed by the bot to the Mini App and then back to bots.getRequestedWebViewButton and messages.sendBotRequestedPeer |
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.
Send one or more chosen peers, as requested by a keyboardButtonRequestPeer button.
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.