haskell-tdlib-2.0.47.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 request. 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