Package it.ernytech.tdlib
Class TdApi.SearchContacts
- java.lang.Object
-
- it.ernytech.tdlib.TdApi.Object
-
- it.ernytech.tdlib.TdApi.Function
-
- it.ernytech.tdlib.TdApi.SearchContacts
-
- Enclosing class:
- TdApi
public static class TdApi.SearchContacts extends TdApi.Function
Searches for the specified query in the first names, last names and usernames of the known user contacts.Returns
Users
-
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
Identifier uniquely determining type of the object.int
limit
Maximum number of users to be returned.java.lang.String
query
Query to search for; can be empty to return all contacts.
-
Constructor Summary
Constructors Constructor Description SearchContacts()
Default constructor.SearchContacts(java.lang.String query, int limit)
Constructor for initialization of all fields.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getConstructor()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class it.ernytech.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
query
public java.lang.String query
Query to search for; can be empty to return all contacts.
-
limit
public int limit
Maximum number of users to be returned.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SearchContacts
public SearchContacts()
Default constructor.
-
SearchContacts
public SearchContacts(java.lang.String query, int limit)
Constructor for initialization of all fields.- Parameters:
query
- Query to search for; can be empty to return all contacts.limit
- Maximum number of users to be returned.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
-