Interface EditStory

Changes content and caption of a story. Can be called only if story.can_be_edited == true. Request type for Tdjson#editStory.

interface EditStory {
    @type: "editStory";
    areas: InputStoryAreas;
    caption: FormattedText;
    content: InputStoryContent;
    story_id: number;
    story_sender_chat_id: number;
}

Properties

@type: "editStory"

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.

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

story_id: number

Identifier of the story to edit.

story_sender_chat_id: number

Identifier of the chat that posted the story.