content
Content of the story.
Returns Story
int
static final int
boolean
boolean
SendStory(TdApi.InputStoryContent content,
TdApi.FormattedText caption,
TdApi.StoryPrivacySettings privacySettings,
int activePeriod,
boolean isPinned,
boolean protectContent)
boolean
int
int
hashCode()
void
serialize(DataOutput output)
toString
serialize
Returns Story
Returns Story
content
- Content of the story.caption
- Story caption; pass null to use an empty caption; 0-getOption("story_caption_length_max") characters.privacySettings
- The privacy settings for the story.activePeriod
- Period after which the story is moved to archive, in seconds; must be one of 6 * 3600, 12 * 3600, 86400, 2 * 86400, 3 * 86400, or 7 * 86400 for Telegram Premium users, and 86400 otherwise.isPinned
- Pass true to keep the story accessible after expiration.protectContent
- Pass true if the content of the story must be protected from forwarding and screenshotting.
Returns Story
Returns 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