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.
Fetch the peer request button a bot prepared for a [Mini App](https://core.telegram.org/api/bots/webapps.md) with [bots.requestWebViewButton](https://core.telegram.org/method/bots.requestWebViewButton.md), invoked when the Mini App emits a [`web_app_request_chat`](https://core.telegram.org/api/web-events.md#web-app-request-chat) event, see [here »](https://core.telegram.org/api/bots/buttons.md#requesting-peers-via-mini-apps) for more info.
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
bot | InputUser | Ja | The bot that owns the Mini App |
webapp_req_id | string | Ja | The Mini App request ID, taken from the [`web_app_request_chat`](https://core.telegram.org/api/web-events.md#web-app-request-chat) event's `req_id` |
Antworten
KeyboardButton
MTProto RPC
- 400 · BOT_ID_INVALID – Die angegebene Bot-ID ist ungültig.
- 400 · WEBAPP_REQ_ID_INVALID – Die angegebene webapp_req_id ist ungültig.