Link Search Menu Expand Document

Constructor: messageActionRequestedPeerSentMe

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
button_idintYesbutton_id contained in the keyboardButtonRequestPeer
peersArray of RequestedPeerYesInfo about the shared peers.

Type: MessageAction

Example:

$messageActionRequestedPeerSentMe = ['_' => 'messageActionRequestedPeerSentMe', 'button_id' => int, 'peers' => [RequestedPeer, RequestedPeer]];