messageActionRequestedPeerSentMe

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

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

Parameters

Name Type Description
button_id int button_id contained in the keyboardButtonRequestPeer
peers Vector<RequestedPeer> Info about 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