Skip to content

searchChatMembers

Function · TDLib 1.8.67 · d1085f9c

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

searchChatMembers(
  chat_id: int53,
  query: string,
  limit: int32,
  filter: ChatMembersFilter
) → ChatMembers

chat_id

int53

Chat identifier

query

string

Query to search for

limit

int32

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

filter

ChatMembersFilter

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