Send one or more chosen peers, as requested by a keyboardButtonRequestPeer button.
Method schema is available as of layer 169. Switch ยป
| Name | Type | Description |
|---|---|---|
| peer | InputPeer | The bot that sent the keyboardButtonRequestPeer button. |
| msg_id | int | ID of the message that contained the reply keyboard with the keyboardButtonRequestPeer button. |
| button_id | int | The button_id field from the keyboardButtonRequestPeer constructor. |
| requested_peers | Vector<InputPeer> | The chosen peers. |
| Code | Type | Description |
|---|---|---|
| 400 | MESSAGE_ID_INVALID | The provided message id is invalid. |
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Prompts the user to select and share one or more peers with the bot using messages.sendBotRequestedPeer