haskell-tdlib-2.0.69.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.SearchChats

Synopsis

Documentation

data SearchChats Source #

Searches for the specified query in the title and username of already known chats. This is an offline method. Returns chats in the order seen in the main chat list. Returns Chats

Constructors

SearchChats 

Fields

  • query :: Maybe Text

    Query to search for. If the query is empty, returns up to 50 recently found chats

  • limit :: Maybe Int

    The maximum number of chats to be returned