Layer 220
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 |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| 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.MessageReactionsListPossible 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. |
Gogram Example
// MessagesGetMessageReactionsList - using Params struct result, err := client.MessagesGetMessageReactionsList(&tg.MessagesGetMessageReactionsListParams{ Peer: &tg.InputPeerUser{UserID: int64(123456789)}, Id: 0, Limit: 0, // Optional fields: // Reaction: &tg.Reaction{}, // Offset: "...", }) if err != nil { // handle error } // result is *tg.MessagesMessageReactionsList