StoryViews
- class pyrogram.raw.base.StoryViews
Aggregated view and reaction information of a story
- Constructors:
This base type has 1 constructor available.
Aggregated view and reaction information of a 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(
has_viewers=None,
views_count=0,
forwards_count=0,
reactions=[
ReactionCount(
chosen_order=None,
reaction=ReactionEmpty(),
count=0
)
],
reactions_count=0,
recent_viewers=[0],
)