Send one or more chosen peers, as requested by a keyboardButtonRequestPeer button.
Metod şeması 169 katmanından itibaren kullanılabilir. Geçiş Yap »
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| peer | InputPeer | The bot that sent the keyboardButtonRequestPeer button. |
| msg_id | flags.0?int | ID of the message that contained the reply keyboard with the keyboardButtonRequestPeer button. |
| webapp_req_id | flags.1?string | |
| 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