content
Content of the story.
boolean
boolean
boolean
boolean
boolean
boolean
static final int
int
boolean
int
boolean
boolean
boolean
boolean
boolean
long
Story()
Story(int id,
long senderChatId,
int date,
boolean isBeingSent,
boolean isBeingEdited,
boolean isEdited,
boolean isPinned,
boolean isVisibleOnlyForSelf,
boolean canBeDeleted,
boolean canBeEdited,
boolean canBeForwarded,
boolean canBeReplied,
boolean canToggleIsPinned,
boolean canGetViewers,
boolean hasExpiredViewers,
TdApi.StoryInteractionInfo interactionInfo,
TdApi.ReactionType chosenReactionType,
TdApi.StoryPrivacySettings privacySettings,
TdApi.StoryContent content,
TdApi.StoryArea[] areas,
TdApi.FormattedText caption)
boolean
int
int
hashCode()
void
serialize(DataOutput output)
serialize, toString
id
- Unique story identifier among stories of the given sender.senderChatId
- Identifier of the chat that posted the story.date
- Point in time (Unix timestamp) when the story was published.isBeingSent
- True, if the story is being sent by the current user.isBeingEdited
- True, if the story is being edited by the current user.isEdited
- True, if the story was edited.isPinned
- True, if the story is saved in the sender's profile and will be available there after expiration.isVisibleOnlyForSelf
- True, if the story is visible only for the current user.canBeDeleted
- True, if the story can be deleted.canBeEdited
- True, if the story can be edited.canBeForwarded
- True, if the story can be forwarded as a message. Otherwise, screenshots and saving of the story content must be also forbidden.canBeReplied
- True, if the story can be replied in the chat with the story sender.canToggleIsPinned
- True, if the story's isPinned value can be changed.canGetViewers
- True, if users viewed the story can be received through getStoryViewers.hasExpiredViewers
- True, if users viewed the story can't be received, because the story has expired more than getOption("story_viewers_expiration_delay") seconds ago.interactionInfo
- Information about interactions with the story; may be null if the story isn't owned or there were no interactions.chosenReactionType
- Type of the chosen reaction; may be null if none.privacySettings
- Privacy rules affecting story visibility; may be approximate for non-owned stories.content
- Content of the story.areas
- Clickable areas to be shown on the story content.caption
- Caption of the story.input
- Serialized inputIOException
- the deserialization failedTdApi.Object
getConstructor
in class TdApi.Object
serialize
in class TdApi.Object
output
- output data streamIOException
- the serialization failed