Interface SearchContacts

Searches for the specified query in the first names, last names and usernames of the known user contacts. Request type for Tdjson#searchContacts.

interface SearchContacts {
    @type: "searchContacts";
    limit: number;
    query: string;
}

Properties

Properties

@type: "searchContacts"
limit: number

The maximum number of users to be returned.

query: string

Query to search for; may be empty to return all contacts.