StoryViews

class pyrogram.raw.base.StoryViews

Aggregated view and reaction information of a story

Constructors:

This base type has 1 constructor available.

StoryViews

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_viewerstrue (optional)
├── views_countint
├── forwards_countint (optional)
├── reactionsVector < ReactionCount > (optional)
│ └── ReactionCount
│ ├── chosen_orderint (optional)
│ ├── reactionReaction
│ │ ├── ReactionEmpty
│ │ ├── ReactionEmoji
│ │ │ └── emoticonstring
│ │ ├── ReactionCustomEmoji
│ │ │ └── document_idlong
│ │ └── ReactionPaid
│ └── countint
├── reactions_countint (optional)
└── recent_viewersVector < 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],
)