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.
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
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`](https://core.telegram.org/api/web-events.md#web-app-request-chat) event's `req_id` |
الردود
KeyboardButton
MTProto RPC
- 400 · BOT_ID_INVALID — The specified bot ID is invalid.
- 400 · WEBAPP_REQ_ID_INVALID — The specified webapp_req_id is invalid.