Interface SetChatPinnedStories

Changes the list of pinned stories on a chat page; requires can_edit_stories right in the chat. Request type for Tdjson#setChatPinnedStories.

interface SetChatPinnedStories {
    @type: "setChatPinnedStories";
    chat_id: number;
    story_ids: number[];
}

Properties

@type: "setChatPinnedStories"
chat_id: number

Identifier of the chat that posted the stories.

story_ids: number[]

New list of pinned stories. All stories must be posted to the chat page first. There can be up to getOption("pinned_story_count_max") pinned stories on a chat page.