View Source ExTDLib.Method.SearchContacts (ExTDLib v0.0.4)
Searches for the specified query in the first names, last names and usernames of the known user contacts. Returns object_ptr<Users>.
| Name | Type | Description |
|---|---|---|
| query | string | Query to search for; may be empty to return all contacts. |
| limit | number | The maximum number of users to be returned. |
More details on telegram's documentation.