Link Search Menu Expand Document

Constructor: messageActionRequestedPeer

Back to constructors index

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).

Attributes:

NameTypeRequiredDescription
button_idintYesbutton_id contained in the keyboardButtonRequestPeer
peersArray of PeerYesThe shared peers

Type: MessageAction

Example:

$messageActionRequestedPeer = ['_' => 'messageActionRequestedPeer', 'button_id' => int, 'peers' => [Peer, Peer]];