haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.GetChatArchivedStories

Synopsis

Documentation

data GetChatArchivedStories Source #

Returns the list of all stories posted by the given chat; requires can_edit_stories right in the chat. The stories are returned in reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib. Returns Stories

Constructors

GetChatArchivedStories 

Fields

  • chat_id :: Maybe Int

    Chat identifier

  • from_story_id :: Maybe Int

    Identifier of the story starting from which stories must be returned; use 0 to get results from the last story

  • limit :: Maybe Int

    The maximum number of stories to be returned. For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit