Skip to content

editStory

Function · TDLib 1.8.67 · d1085f9c

Changes content and caption of a story. Can be called only if story.can_be_edited == true

editStory(
  story_poster_chat_id: int53,
  story_id: int32,
  content: InputStoryContent,
  areas: InputStoryAreas,
  caption: FormattedText
) → Ok

story_poster_chat_id

int53

Identifier of the chat that posted the story

story_id

int32

Identifier of the story to edit

content

InputStoryContent

New content of the story; pass null to keep the current content

areas

InputStoryAreas

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 changed

caption

FormattedText

New story caption; pass null to keep the current caption