Layer 220
MessageActionRequestedPeerSentMe
Contains info about one or more peers that the a user shared with the me (the bot) after clicking on a keyboard Button Request Peer button (service message received by the bot).
constructor
messageActionRequestedPeerSentMe#93b31848 button_id:int peers:Vector<RequestedPeer> = MessageAction;
Parameters
| Name | Type | Description |
|---|---|---|
| ButtonId | int | button_id contained in the keyboard Button Request Peer |
| Peers | Vector<RequestedPeer> | Info about the shared peers. |
Returns
MessageActionGogram Example
// Creating MessageActionRequestedPeerSentMe constructor obj := &tg.MessageActionRequestedPeerSentMe{ ButtonId: 0, Peers: []tg.RequestedPeer{&tg.RequestedPeer{}}, }