Skip to main content

storyViews

Aggregated view and reaction information of a story.

type tg.StoryViews struct { /* ... */ }

Fields​

NameTypeRequiredDescription
HasViewersbool—If set, indicates that the viewers list is currently viewable, and was not yet deleted because the story has expired while the user didn't have a Premium account.
ViewsCountintyesView counter of the story
ForwardsCountint—Forward counter of the story
Reactions[]ReactionCount—All reactions sent to this story
ReactionsCountint—Number of reactions added to the story
RecentViewers[]int64—User IDs of some recent viewers of the story

References​