Link Search Menu Expand Document

Constructor: messageActionRequestedPeer

Back to constructors index

Contains info about one or more peers that the user shared with the bot after clicking on a keyboardButtonRequestPeer button.

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]];