Interface ToggleStoryIsPostedToChatPage

Toggles whether a story is accessible after expiration. Can be called only if story.can_toggle_is_posted_to_chat_page == true. Request type for Tdjson#toggleStoryIsPostedToChatPage.

interface ToggleStoryIsPostedToChatPage {
    @type: "toggleStoryIsPostedToChatPage";
    is_posted_to_chat_page?: boolean;
    story_id: number;
    story_sender_chat_id: number;
}

Properties

@type: "toggleStoryIsPostedToChatPage"
is_posted_to_chat_page?: boolean

Pass true to make the story accessible after expiration; pass false to make it private.

story_id: number

Identifier of the story.

story_sender_chat_id: number

Identifier of the chat that posted the story.