Layer 224
MessagesGetMessageReactionsList
Get message reaction list, along with the sender of each reaction.
method
Users
messages.getMessageReactionsList#461b3f48 flags:# peer:InputPeer id:int reaction:flags.0?Reaction offset:flags.1?string limit:int = messages.MessageReactionsList;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | Peer |
| Id | int | Message ID |
| Reaction | flags.0?Reaction | Get only reactions of this type |
| Offset | flags.1?string | Offset for pagination (taken from the next_offset field of the returned messages. Message Reactions List ); empty in the first request. |
| Limit | int | Maximum number of results to return, see pagination |
Returns
messages.MessageReactionsListGogram Example
// MessagesGetMessageReactionsList - using Params struct result, err := client.MessagesGetMessageReactionsList(&tg.MessagesGetMessageReactionsListParams{ Peer: &tg.InputPeerUser{UserID: int64(777000)}, Id: 42, Limit: 42, // Optional fields: // Reaction: &tg.Reaction{}, // Offset: "Hello, World!", }) if err != nil { // handle error } // result is *tg.MessagesMessageReactionsList
Possible Errors
| Code | Type | Description |
|---|---|---|
| 403 | BROADCAST_FORBIDDEN | Channel poll voters and reactions cannot be fetched to prevent deanonymization. |
| 400 | MSG_ID_INVALID | Invalid message ID provided. |