Package org.drinkless.tdlib
Class TdApi.SearchContacts
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.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 intCONSTRUCTORIdentifier uniquely determining type of the object.intlimitThe maximum number of users to be returned.StringqueryQuery to search for; may be empty to return all contacts.
-
Constructor Summary
Constructors Constructor 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(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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
query
public String query
Query to search for; may be empty to return all contacts.
-
limit
public int limit
The 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 for a function, which searches for the specified query in the first names, last names and usernames of the known user contacts.Returns
Users
-
SearchContacts
public SearchContacts(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.Returns
Users- Parameters:
query- Query to search for; may be empty to return all contacts.limit- The maximum number of users to be returned.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-