StoryViews
- class pyrogram.raw.types.StoryViews
Aggregated view and reaction information of a story.
Constructor of
StoryViews.- Details:
Layer:
223ID:
8D595CD6
- Parameters:
views_count (
int32-bit) – View counter of the storyhas_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.forwards_count (
int32-bit, optional) – Forward counter of the storyreactions (List of
ReactionCount, optional) – All reactions sent to this storyreactions_count (
int32-bit, optional) – Number of reactions added to the storyrecent_viewers (List of
int64-bit, optional) – User IDs of some recent viewers of the story
TL Schema
storyViews#8d595cd6
flags:#
has_viewers:flags.1?true
views_count:int
forwards_count:flags.2?int
reactions:flags.3?Vector<ReactionCount>
reactions_count:flags.4?int
recent_viewers:flags.0?Vector<long>
= StoryViews
Parameter Tree
StoryViews
├── has_viewers →
true (optional)├── views_count →
int├── forwards_count →
int (optional)├── reactions →
Vector < ReactionCount > (optional)│ └──
ReactionCount│ ├── chosen_order →
int (optional)│ ├── reaction →
Reaction│ │ ├──
ReactionEmpty│ │ ├──
ReactionEmoji│ │ │ └── emoticon →
string│ │ ├──
ReactionCustomEmoji│ │ │ └── document_id →
long│ │ └──
ReactionPaid│ └── count →
int├── reactions_count →
int (optional)└── recent_viewers →
Vector < long > (optional)Example
StoryViews(
views_count=0,
)