Constructor: storyViews
Aggregated view and reaction information of a story.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
has_viewers | Bool | Optional | 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. |
views_count | int | Yes | View counter of the story |
forwards_count | int | Optional | Forward counter of the story |
reactions | Array of ReactionCount | Optional | All reactions sent to this story |
reactions_count | int | Optional | Number of reactions added to the story |
recent_viewers | Array of long | Optional | User IDs of some recent viewers of the story |
Type: StoryViews
Example:
$storyViews = ['_' => 'storyViews', 'has_viewers' => Bool, 'views_count' => int, 'forwards_count' => int, 'reactions' => [ReactionCount, ReactionCount], 'reactions_count' => int, 'recent_viewers' => [long, long]];