Layer 220
constructor
storyView#b0bdeac5 flags:# blocked:flags.0?true blocked_my_stories_from:flags.1?true user_id:long date:int reaction:flags.2?Reaction = StoryView;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Blocked flags.0?true Whether we have completely blocked this user, including from viewing more of our stories.
BlockedMyStoriesFrom flags.1?true Whether we have blocked this user from viewing more of our stories.
UserId long The user that viewed the story
Date int When did the user view the story
Reaction flags.2?Reaction If present, contains the reaction that the user left on the story

Returns

StoryView

Gogram Example

// Creating StoryView constructor
obj := &tg.StoryView{
    UserId: int64(0),
    Date: 0,

    // Optional fields:
    // Blocked: true,
    // BlockedMyStoriesFrom: true,
    // Reaction: &tg.Reaction{},
}