StoryView

class pyrogram.raw.types.StoryView

Story view date and reaction information

Constructor of StoryView.

Details:
  • Layer: 223

  • ID: B0BDEAC5

Parameters:
  • user_id (int 64-bit) – The user that viewed the story

  • date (int 32-bit) – When did the user view the story

  • blocked (bool, optional) – Whether we have completely blocked this user, including from viewing more of our stories.

  • blocked_my_stories_from (bool, optional) – Whether we have blocked this user from viewing more of our stories.

  • reaction (Reaction, optional) – If present, contains the reaction that the user left on the story

TL Schema

storyView#b0bdeac5
flags:#
blocked:flags.0?true
blocked_my_stories_from:flags.1?true
user_id:long
date:int
reaction:flags.2?Reaction

= StoryView

Parameter Tree

StoryView
├── blockedtrue (optional)
├── blocked_my_stories_fromtrue (optional)
├── user_idlong
├── dateint
└── reactionReaction (optional)
├── ReactionEmpty
├── ReactionEmoji
│ └── emoticonstring
│ └── document_idlong
└── ReactionPaid

Example

StoryView(
    user_id=0,
    date=0,
)