Layer 227
StoriesGetStoryReactionsList
Get the reaction and interaction list of a story posted to a channel, along with the sender of each reaction.
method
Users
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 |
|---|---|---|
| ForwardsFirst | flags .2? 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 | 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 stories. Story Reactions List ); empty in the first request. |
| Limit | int | Maximum number of results to return, see pagination |
Returns
stories.StoryReactionsListGogram Example
// StoriesGetStoryReactionsList - using Params struct result, err := client.StoriesGetStoryReactionsList(&tg.StoriesGetStoryReactionsListParams{ ForwardsFirst: nil, Peer: &tg.InputPeerUser{UserID: int64(777000)}, Id: 42, Reaction: nil, Offset: "Hello, World!", Limit: 42, }) if err != nil { // handle error } // result is *tg.StoriesStoryReactionsList
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |