telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Interface PostStoryOptions

    Options for Bot.postStory (excludes the positional business_connection_id and content).

    active_period must be one of 21600, 43200, 86400, or 172800.

    interface PostStoryOptions {
        active_period: number;
        areas?: StoryArea[];
        caption?: string;
        caption_entities?: MessageEntity[];
        parse_mode?: string;
        post_to_chat_page?: boolean;
        protect_content?: boolean;
    }
    Index
    active_period: number

    Period after which the story is moved to the archive, in seconds; must be one of 21600, 43200, 86400, or 172800.

    areas?: StoryArea[]

    List of story areas to add to the story.

    caption?: string

    Story caption, 0-1024 characters.

    caption_entities?: MessageEntity[]

    List of special entities that appear in the story caption.

    parse_mode?: string

    Mode for parsing entities in the story caption.

    Optionalpost_to_chat_page

    post_to_chat_page?: boolean

    Pass True if the story must be posted on the channel page.

    protect_content?: boolean

    Pass True if the content of the story must be protected from forwarding and saving.