search_chats_on_server


Description:

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

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 main chat list

Parameters:

query

Query to search for

limit

The maximum number of chats to be returned