haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.SearchContacts

Synopsis

Documentation

data SearchContacts Source #

Searches for the specified query in the first names, last names and usernames of the known user contacts. Returns Users

Constructors

SearchContacts 

Fields

  • query :: Maybe Text

    Query to search for; may be empty to return all contacts

  • limit :: Maybe Int

    The maximum number of users to be returned