method ApiMethods.editStory
ApiMethods.editStory(args: { business_connection_id: string; story_id: number; content: InputStoryContent<F>; caption?: string; parse_mode?: ParseMode; caption_entities?: MessageEntity[]; areas?: StoryArea; }): Story

Edits a story previously posted by the bot on behalf of a managed business account. Requires the can_manage_stories business bot right. Returns Story on success.

Parameters

args: { business_connection_id: string; story_id: number; content: InputStoryContent<F>; caption?: string; parse_mode?: ParseMode; caption_entities?: MessageEntity[]; areas?: StoryArea; }

Return Type

Usage

import { type ApiMethods } from "types";