pub struct Story {Show 15 fields
pub id: i32,
pub sender_chat_id: i64,
pub date: i32,
pub is_being_edited: bool,
pub is_edited: bool,
pub is_pinned: bool,
pub is_visible_only_for_self: bool,
pub can_be_forwarded: bool,
pub can_be_replied: bool,
pub can_get_viewers: bool,
pub has_expired_viewers: bool,
pub interaction_info: Option<StoryInteractionInfo>,
pub privacy_settings: StoryPrivacySettings,
pub content: StoryContent,
pub caption: FormattedText,
}Expand description
Represents a story
Fields§
§id: i32Unique story identifier among stories of the given sender
sender_chat_id: i64Identifier of the chat that posted the story
date: i32Point in time (Unix timestamp) when the story was published
is_being_edited: boolTrue, if the story is being edited by the current user
is_edited: boolTrue, if the story was edited
is_pinned: boolTrue, if the story is saved in the sender’s profile and will be available there after expiration
is_visible_only_for_self: boolTrue, if the story is visible only for the current user
can_be_forwarded: boolTrue, if the story can be forwarded as a message. Otherwise, screenshots and saving of the story content must be also forbidden
can_be_replied: boolTrue, if the story can be replied in the chat with the story sender
can_get_viewers: boolTrue, if users viewed the story can be received through getStoryViewers
has_expired_viewers: boolTrue, if users viewed the story can’t be received, because the story has expired more than getOption(“story_viewers_expiration_delay”) seconds ago
interaction_info: Option<StoryInteractionInfo>Information about interactions with the story; may be null if the story isn’t owned or there were no interactions
privacy_settings: StoryPrivacySettingsPrivacy rules affecting story visibility; may be approximate for non-owned stories
content: StoryContentContent of the story
caption: FormattedTextCaption of the story