MadelineProtoDocs/docs/API_docs/constructors/messageActionRequestedPeer.md
2024-05-01 14:53:46 +02:00

1.1 KiB

title description nav_exclude image
messageActionRequestedPeer Contains info about one or more peers that the user shared with the bot after clicking on a keyboardButtonRequestPeer button. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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:

Name Type Required Description
button_id int Yes button_id contained in the keyboardButtonRequestPeer
peers Array of Peer Yes The shared peers

Type: MessageAction

Example:

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