TDLib v0.0.2 TDLib.Method.SearchChats View Source
Searches for the specified query in the title and username of already known chats, this is an offline request. Returns chats in the order seen in the chat list.
Returns object_ptr
Name | Type | Description |
---|---|---|
query | string | Query to search for. If the query is empty, returns up to 20 recently found chats. |
limit | number | Maximum number of chats to be returned. |
More details on telegram’s documentation.