public static class TdApi.SearchContacts extends TdApi.Function
Returns Users
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
limit
The maximum number of users to be returned.
|
java.lang.String |
query
Query to search for; may be empty to return all contacts.
|
Constructor and Description |
---|
SearchContacts()
Default constructor for a function, which searches for the specified query in the first names, last names and usernames of the known user contacts.
|
SearchContacts(java.lang.String query,
int limit)
Creates a function, which searches for the specified query in the first names, last names and usernames of the known user contacts.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String query
public int limit
public static final int CONSTRUCTOR
public SearchContacts()
Returns Users
public SearchContacts(java.lang.String query, int limit)
Returns Users
query
- Query to search for; may be empty to return all contacts.limit
- The maximum number of users to be returned.public int getConstructor()
getConstructor
in class TdApi.Function