View Source ExTDLib.Method.SearchChatMembers (ExTDLib v0.0.4)

Searches for a specified query in the first name, last name and usernames of the members of a specified chat. Requires administrator rights in channels. Returns object_ptr<ChatMembers>.

NameTypeDescription
chat_idstringChat identifier.
querystringQuery to search for.
limitnumberThe maximum number of users to be returned; up to 200.
filterChatMembersFilterThe type of users to search for; pass null to search among all chat members.

More details on telegram's documentation.