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
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
pinned | true | Whether this story is pinned on the user's profile |
public | true | Whether this story is public and can be viewed by everyone |
close_friends | true | Whether this story can only be viewed by our close friends, see here » for more info |
min | true | 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. |
noforwards | true | 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). |
edited | true | Indicates whether the story was edited. |
contacts | true | Whether this story can only be viewed by our contacts |
selected_contacts | true | Whether this story can only be viewed by a select list of our contacts |
out | true | indicates whether we sent this story. |
id | int | ID of the story. |
date | int | When was the story posted. |
from_id | Peer | Sender of the story. |
fwd_from | StoryFwdHeader | For reposted stories », contains info about the original story. |
expire_date | int | When does the story expire. |
caption | string | Story caption. |
entities | Vector<MessageEntity> | Message entities for styled text |
media | MessageMedia | Story media. |
media_areas | Vector<MediaArea> | List of media areas, see here » for more info on media areas. |
privacy | Vector<PrivacyRule> | Privacy rules indicating who can and can't view this story |
views | StoryViews | View date and reaction information |
sent_reaction | Reaction | The reaction we sent. |
albums | Vector<int> | Albums this story is part of. |
music | Document |
type
StoryItem · other constructors: storyItemDeleted, storyItemSkipped
history
present in layers 160–229 · constructor id changed 5×
| id | layers |
|---|---|
| #562aa637 | 160 |
| #44c457ce | 161–166 |
| #af6365a1 | 167–173 |
| #79b26a24 | 174–210 |
| #edf164f1 | 211–223 |
| #16a4b93c | 224–229 |