set_chat_pinned_stories


Description:

public async Ok set_chat_pinned_stories (int64 chat_id, ArrayList<int32?> story_ids) throws TDLibError

Changes the list of pinned stories on a chat page; requires can_edit_stories right in the chat

Parameters:

chat_id

Identifier of the chat that posted the stories

story_ids

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