telegram api constructor · layer 229 · #16a4b93c

storyItem

Represents a story.

definition

storyItem#16a4b93c 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 albums:flags.19?Vector<int> music:flags.20?Document = StoryItem;

parameters

nametypedescription
flags#Flags, see TL conditional fields
pinnedflags.5?trueWhether this story is pinned on the user's profile
publicflags.7?trueWhether this story is public and can be viewed by everyone
close_friendsflags.8?trueWhether this story can only be viewed by our close friends, see here » for more info
minflags.9?trueFull 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.
noforwardsflags.10?trueWhether 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).
editedflags.11?trueIndicates whether the story was edited.
contactsflags.12?trueWhether this story can only be viewed by our contacts
selected_contactsflags.13?trueWhether this story can only be viewed by a select list of our contacts
outflags.16?trueindicates whether we sent this story.
idintID of the story.
dateintWhen was the story posted.
from_idflags.18?PeerSender of the story.
fwd_fromflags.17?StoryFwdHeaderFor reposted stories », contains info about the original story.
expire_dateintWhen does the story expire.
captionflags.0?stringStory caption.
entitiesflags.1?Vector<MessageEntity>Message entities for styled text
mediaMessageMediaStory media.
media_areasflags.14?Vector<MediaArea>List of media areas, see here » for more info on media areas.
privacyflags.2?Vector<PrivacyRule>Privacy rules indicating who can and can't view this story
viewsflags.3?StoryViewsView date and reaction information
sent_reactionflags.15?ReactionThe reaction we sent.
albumsflags.19?Vector<int>Albums this story is part of.
musicflags.20?Document

type

StoryItem · other constructors: storyItemDeleted, storyItemSkipped

history

present in layers 160–229 · constructor id changed 5×

idlayers
#562aa637160
#44c457ce161–166
#af6365a1167–173
#79b26a24174–210
#edf164f1211–223
#16a4b93c224–229