public static class TdApi.SearchChatMembers extends TdApi.Function
Returns ChatMembers
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.ChatMembersFilter |
filter
The type of users to return.
|
int |
limit
The maximum number of users to be returned.
|
java.lang.String |
query
Query to search for.
|
Constructor and Description |
---|
SearchChatMembers()
Default constructor for a function, which searches for a specified query in the first name, last name and username of the members of a specified chat.
|
SearchChatMembers(long chatId,
java.lang.String query,
int limit,
TdApi.ChatMembersFilter filter)
Creates a function, which searches for a specified query in the first name, last name and username of the members of a specified chat.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public java.lang.String query
public int limit
public TdApi.ChatMembersFilter filter
public static final int CONSTRUCTOR
public SearchChatMembers()
Returns ChatMembers
public SearchChatMembers(long chatId, java.lang.String query, int limit, TdApi.ChatMembersFilter filter)
Returns ChatMembers
chatId
- Chat identifier.query
- Query to search for.limit
- The maximum number of users to be returned.filter
- The type of users to return. By default, chatMembersFilterMembers.public int getConstructor()
getConstructor
in class TdApi.Function