pub async fn edit_story(
story_sender_chat_id: i64,
story_id: i32,
content: Option<InputStoryContent>,
areas: Option<InputStoryAreas>,
caption: Option<FormattedText>,
client_id: i32,
) -> Result<(), Error>Expand description
Changes content and caption of a story. Can be called only if story.can_be_edited == true
§Arguments
story_sender_chat_id- Identifier of the chat that posted the storystory_id- Identifier of the story to editcontent- New content of the story; pass null to keep the current contentareas- New clickable rectangle areas to be shown on the story media; pass null to keep the current areas. Areas can’t be edited if story content isn’t changedcaption- New story caption; pass null to keep the current captionclient_id- The client id to send the request to