Layer 228
StoriesStoryViewsListObj
Reaction and view counters for a story
constructor
stories.storyViewsList#59d78fc5 flags:# count:int views_count:int forwards_count:int reactions_count:int views:Vector<StoryView> chats:Vector<Chat> users:Vector<User> next_offset:flags.0?string = stories.StoryViewsList;
Parameters
| Name | Type | Description |
|---|---|---|
| Count | int | Total number of results that can be fetched |
| ViewsCount | int | Total number of story views |
| ForwardsCount | int | Total number of story forwards/reposts |
| ReactionsCount | int | Number of reactions that were added to the story |
| Views | Vector<StoryView> | Story view date and reaction information |
| Chats | Vector<Chat> | Mentioned chats |
| Users | Vector<User> | Mentioned users |
| NextOffset | flags .0? string | Offset for pagination |
Returns
stories.StoryViewsListGogram Example
// Creating StoriesStoryViewsListObj constructor obj := &tg.StoriesStoryViewsListObj{ Count: 20, ViewsCount: 20, ForwardsCount: 20, ReactionsCount: 20, Views: []tg.StoryView{&tg.StoryViewObj{}}, Chats: []tg.Chat{&tg.ChatObj{}}, // ... more required fields }