messages.sendBotRequestedPeer
Send one or more chosen peers, as requested by a keyboardButtonRequestPeer button.
Send one or more chosen peers, as requested by a [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md) button.
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
peer | InputPeer | أيوه | The bot that sent the [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md) button. |
msg_id | int | لأ | ID of the message that contained the reply keyboard with the [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md) button. |
webapp_req_id | string | لأ | If the button was prepared for a [Mini App »](https://core.telegram.org/api/bots/buttons.md#requesting-peers-via-mini-apps), the Mini App request ID returned by [bots.requestWebViewButton](https://core.telegram.org/method/bots.requestWebViewButton.md). |
button_id | int | أيوه | The `button_id` field from the [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md) constructor. |
requested_peers | Vector<InputPeer> | أيوه | The chosen peers. |
الردود
Updates
MTProto RPC
- 400 · MESSAGE_ID_INVALID — The provided message id is invalid.
- 400 · PEER_ID_INVALID — The provided peer id is invalid.