haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.SetChatPinnedStories

Synopsis

Documentation

data SetChatPinnedStories Source #

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

Constructors

SetChatPinnedStories 

Fields

  • chat_id :: Maybe Int

    Identifier of the chat that posted the stories

  • story_ids :: Maybe [Int]

    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