search_chats


Description:

public async Chats search_chats (string query, int32 limit) throws TDLibError

Searches for the specified query in the title and username of already known chats. This is an offline method. Returns chats in the order seen in the main chat list

Parameters:

query

Query to search for. If the query is empty, returns up to 50 recently found chats

limit

The maximum number of chats to be returned