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.

NameTypeDescription
querystringQuery to search for.
limitnumberMaximum number of chats to be returned.

More details on telegram’s documentation.