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.

NameTypeDescription
querystringQuery to search for. If the query is empty, returns up to 20 recently found chats.
limitnumberMaximum number of chats to be returned.

More details on telegram’s documentation.