telegram api method · layer 229 · #461b3f48
messages.getMessageReactionsList
Get message reaction list, along with the sender of each reaction.
definition
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 | Reaction | Get only reactions of this type |
offset | string | Offset for pagination (taken from the next_offset field of the returned messages.MessageReactionsList); empty in the first request. |
limit | int | Maximum number of results to return, see pagination |
returns
errors (5)
| code | error | description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED | This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection. |
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
| 400 | MSG_ID_INVALID | Invalid message ID provided. |
| 401 | AUTH_KEY_UNREGISTERED | The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). |
| 403 | BROADCAST_FORBIDDEN | Channel poll voters and reactions cannot be fetched to prevent deanonymization. |
history
present in layers 136–229 · constructor id changed 1×
| id | layers |
|---|---|
| #e0ee6b77 | 136–144 |
| #461b3f48 | 145–229 |