TDLib v0.0.2 TDLib.Method.SearchChatsOnServer View Source
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 chat list.
Returns object_ptr
Name | Type | Description |
---|---|---|
query | string | Query to search for. |
limit | number | Maximum number of chats to be returned. |
More details on telegram’s documentation.