messages.sendBotRequestedPeer

Send one or more chosen peers, as requested by a keyboardButtonRequestPeer button.

 Method schema is available as of layer 152. Switch ยป

Parameters

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.

Result

Updates

Related pages

keyboardButtonRequestPeer

Prompts the user to select and share one or more peers with the bot using messages.sendBotRequestedPeer