Raw.StoryItem

Raw.StoryItem

Represents a story.

storyItem#79b26a24 flags:# pinned:flags.5?true public:flags.7?true close_friends:flags.8?true min:flags.9?true noforwards:flags.10?true edited:flags.11?true contacts:flags.12?true selected_contacts:flags.13?true out:flags.16?true id:int date:int from_id:flags.18?Peer fwd_from:flags.17?StoryFwdHeader expire_date:int caption:flags.0?string entities:flags.1?Vector<MessageEntity> media:MessageMedia media_areas:flags.14?Vector<MediaArea> privacy:flags.2?Vector<PrivacyRule> views:flags.3?StoryViews sent_reaction:flags.15?Reaction = StoryItem;
export namespace Raw {
  export class StoryItem {
    constructor(params: {
      pinned?: boolean;
      public?: boolean;
      closeFriends?: boolean;
      min?: boolean;
      noforwards?: boolean;
      edited?: boolean;
      contacts?: boolean;
      selectedContacts?: boolean;
      out?: boolean;
      id: number;
      date: number;
      fromId?: Raw.TypePeer;
      fwdFrom?: Raw.TypeStoryFwdHeader;
      expireDate: number;
      caption?: string;
      entities?: Array<Raw.TypeMessageEntity>;
      media: Raw.TypeMessageMedia;
      mediaAreas?: Array<Raw.TypeMediaArea>;
      privacy?: Array<Raw.TypePrivacyRule>;
      views?: Raw.TypeStoryViews;
      sentReaction?: Raw.TypeReaction;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x79b26a24

Property