View Source ExTDLib.Object.Story (ExTDLib v0.0.4)

Represents a story.

NameTypeDescription
idnumberUnique story identifier among stories of the given sender.
sender_chat_idstringIdentifier of the chat that posted the story.
datenumberPoint in time (Unix timestamp) when the story was published.
is_being_sentboolTrue, if the story is being sent by the current user.
is_being_editedboolTrue, if the story is being edited by the current user.
is_editedboolTrue, if the story was edited.
is_pinnedboolTrue, if the story is saved in the sender's profile and will be available there after expiration.
is_visible_only_for_selfboolTrue, if the story is visible only for the current user.
can_be_deletedboolTrue, if the story can be deleted.
can_be_editedboolTrue, if the story can be edited.
can_be_forwardedboolTrue, if the story can be forwarded as a message. Otherwise, screenshots and saving of the story content must be also forbidden.
can_be_repliedboolTrue, if the story can be replied in the chat with the story sender.
can_toggle_is_pinnedboolTrue, if the story's is_pinned value can be changed.
can_get_statisticsboolTrue, if the story statistics are available through getStoryStatistics.
can_get_viewersboolTrue, if users viewed the story can be received through getStoryViewers.
has_expired_viewersboolTrue, if users viewed the story can't be received, because the story has expired more than getOption("story_viewers_expiration_delay") seconds ago.
repost_infostoryRepostInfoInformation about the original story; may be null if the story wasn't reposted.
interaction_infostoryInteractionInfoInformation about interactions with the story; may be null if the story isn't owned or there were no interactions.
chosen_reaction_typeReactionTypeType of the chosen reaction; may be null if none.
privacy_settingsStoryPrivacySettingsPrivacy rules affecting story visibility; may be approximate for non-owned stories.
contentStoryContentContent of the story.
areasstoryAreaClickable areas to be shown on the story content.
captionformattedTextCaption of the story.

More details on telegram's documentation.