Searches for the specified query in the title and username of already known chats via a request to the server. Returns chats in the order seen in the main chat list. Request type for Tdjson#searchChatsOnServer.
The maximum number of chats to be returned.
Query to search for.
Additional filter for the type of the chats to be returned; pass null to search for chats of all types.
Searches for the specified query in the title and username of already known chats via a request to the server. Returns chats in the order seen in the main chat list. Request type for Tdjson#searchChatsOnServer.