Layer 227
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 - positional arguments result, err := client.MessagesGetMessageReactionsList(&tg.InputPeerUser{UserID: int64(777000)}, 42, nil, "Hello, World!", 42) 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 | CHANNEL_INVALID | The provided channel is invalid. |
| 400 | MSG_ID_INVALID | Invalid message ID provided. |