telegram api method · layer 229 · #b9b2881f
stories.getStoryReactionsList
Get the reaction and interaction list of a story posted to a channel, along with the sender of each reaction.
definition
stories.getStoryReactionsList#b9b2881f flags:# forwards_first:flags.2?true peer:InputPeer id:int reaction:flags.0?Reaction offset:flags.1?string limit:int = stories.StoryReactionsList;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
forwards_first | true | If set, returns forwards and reposts first, then reactions, then other views; otherwise returns interactions sorted just by interaction date. |
peer | InputPeer | Channel |
id | int | Story ID |
reaction | Reaction | Get only reactions of this type |
offset | string | Offset for pagination (taken from the next_offset field of the returned stories.StoryReactionsList); empty in the first request. |
limit | int | Maximum number of results to return, see pagination |
returns
errors (3)
| 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 | PEER_ID_INVALID | The provided peer id is invalid. |
| 401 | AUTH_KEY_UNREGISTERED | The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). |
history
present in layers 168–229
| id | layers |
|---|---|
| #b9b2881f | 168–229 |