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