Interface SearchChatMembers

Searches for a specified query in the first name, last name and usernames of the members of a specified chat. Requires administrator rights if the chat is a channel. Request type for Tdjson#searchChatMembers.

interface SearchChatMembers {
    @type: "searchChatMembers";
    chat_id: number;
    filter: ChatMembersFilter;
    limit: number;
    query: string;
}

Properties

@type: "searchChatMembers"
chat_id: number

Chat identifier.

The type of users to search for; pass null to search among all chat members.

limit: number

The maximum number of users to be returned; up to 200.

query: string

Query to search for.