View Source ExTDLib.Method.SearchChatsOnServer (ExTDLib v0.0.4)
Searches for the specified query in the title and username of already known chats via request to the server. Returns chats in the order seen in the main chat list. Returns object_ptr<Chats>.
| Name | Type | Description |
|---|---|---|
| query | string | Query to search for. |
| limit | number | The maximum number of chats to be returned. |
More details on telegram's documentation.