Interface SearchChatsOnServer

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. Request type for Tdjson#searchChatsOnServer.

interface SearchChatsOnServer {
    @type: "searchChatsOnServer";
    limit: number;
    query: string;
}

Properties

Properties

@type: "searchChatsOnServer"
limit: number

The maximum number of chats to be returned.

query: string

Query to search for.