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

Posts a story 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; content: InputStoryContent<F>; active_period: number; caption?: string; parse_mode?: ParseMode; caption_entities?: MessageEntity[]; areas?: StoryArea[]; post_to_chat_page?: boolean; protect_content?: boolean; }

Return Type

Usage

import { type ApiMethods } from "types";