View Source ExTDLib.Method.SendStory (ExTDLib v0.0.4)

Sends a new story to a chat; requires can_post_stories rights for channel chats. Returns a temporary story. Returns object_ptr<Story>.

NameTypeDescription
chat_idstringIdentifier of the chat that will post the story.
contentInputStoryContentContent of the story.
areasinputStoryAreasClickable rectangle areas to be shown on the story media; pass null if none.
captionformattedTextStory caption; pass null to use an empty caption; 0-getOption("story_caption_length_max") characters.
privacy_settingsStoryPrivacySettingsThe privacy settings for the story.
active_periodnumberPeriod after which the story is moved to archive, in seconds; must be one of 6 3600, 12 3600, 86400, or 2 * 86400 for Telegram Premium users, and 86400 otherwise.
from_story_full_idstoryFullIdFull identifier of the original story, which content was used to create the story.
is_pinnedboolPass true to keep the story accessible after expiration.
protect_contentboolPass true if the content of the story must be protected from forwarding and screenshotting.

More details on telegram's documentation.