class StoryItem_
extends _StoryItem_
import { StoryItem_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";
Represents a story.
Constructors
new
StoryItem_(params: { pinned?: true; public?: true; close_friends?: true; min?: true; noforwards?: true; edited?: true; contacts?: true; selected_contacts?: true; out?: true; id: number; date: number; from_id?: enums.Peer; fwd_from?: enums.StoryFwdHeader; expire_date: number; caption?: string; entities?: Array<enums.MessageEntity>; media: enums.MessageMedia; media_areas?: Array<enums.MediaArea>; privacy?: Array<enums.PrivacyRule>; views?: enums.StoryViews; sent_reaction?: enums.Reaction; })Properties
protected
readonly
[params]: ParamsWhether this story can only be viewed by our close friends, see here » for more info
For reposted stories », contains info about the original story.
List of media areas, see here » for more info on media areas.
Full information about this story was omitted for space and performance reasons; use stories.getStoriesByID to fetch full info about this story when and if needed.
Whether this story is protected and thus cannot be forwarded; clients should also prevent users from saving attached media (i.e. videos should only be streamed, photos should be kept in RAM, et cetera).
Static Properties
readonly
[paramDesc]: ParamDesc