search_chat_members


Description:

public async ChatMembers search_chat_members (int64 chat_id, string query, int32 limit, ChatMembersFilter filter) throws TDLibError

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

Parameters:

chat_id

Chat identifier

query

Query to search for

limit

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

filter

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