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

    Interface RepostStoryOptions

    Options for Bot.repostStory.

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

    interface RepostStoryOptions {
        active_period: number;
        business_connection_id?: string;
        from_chat_id: number;
        from_story_id: number;
        post_to_chat_page?: boolean;
        protect_content?: boolean;
    }
    Index
    active_period: number

    Period after which the story is moved to the archive, in seconds.

    business_connection_id?: string

    Unique identifier of the business connection on behalf of which the story will be reposted.

    from_chat_id: number

    Unique identifier of the chat that posted the source story.

    from_story_id

    from_story_id: number

    Unique identifier of the source story.

    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.