TDLib v0.0.1 TDLib.Method.SearchContacts View Source

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

NameTypeDescription
querystringQuery to search for; can be empty to return all contacts.
limitnumberMaximum number of users to be returned.

More details on telegram’s documentation.