messageActionRequestedPeer

Contains info about one or more peers that the we (the user) shared with the bot after clicking on a keyboardButtonRequestPeer button (service message sent by the user).

Constructor schema is available as of layer 169. Switch ยป

Parameters

Name Type Description
button_id int button_id contained in the keyboardButtonRequestPeer
peers Vector<Peer> The shared peers

Type

MessageAction

Related pages

keyboardButtonRequestPeer

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