pub async fn send_story(
chat_id: i64,
content: InputStoryContent,
areas: Option<InputStoryAreas>,
caption: Option<FormattedText>,
privacy_settings: StoryPrivacySettings,
active_period: i32,
from_story_full_id: StoryFullId,
is_posted_to_chat_page: bool,
protect_content: bool,
client_id: i32,
) -> Result<Story, Error>Expand description
Sends a new story to a chat; requires can_post_stories right for supergroup and channel chats. Returns a temporary story
§Arguments
chat_id- Identifier of the chat that will post the storycontent- Content of the storyareas- Clickable rectangle areas to be shown on the story media; pass null if nonecaption- Story caption; pass null to use an empty caption; 0-getOption(“story_caption_length_max”) characters; can have entities only if getOption(“can_use_text_entities_in_story_caption”)privacy_settings- The privacy settings for the story; ignored for stories sent to supergroup and channel chatsactive_period- Period 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 otherwisefrom_story_full_id- Full identifier of the original story, which content was used to create the storyis_posted_to_chat_page- Pass true to keep the story accessible after expirationprotect_content- Pass true if the content of the story must be protected from forwarding and screenshottingclient_id- The client id to send the request to