public static class TdApi.SearchChatsOnServer extends TdApi.Function
Returns Chats
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 chats to be returned.
|
java.lang.String |
query
Query to search for.
|
Constructor and Description |
---|
SearchChatsOnServer()
Default constructor for a function, which searches for the specified query in the title and username of already known chats via request to the server.
|
SearchChatsOnServer(java.lang.String query,
int limit)
Creates a function, which searches for the specified query in the title and username of already known chats via request to the server.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String query
public int limit
public static final int CONSTRUCTOR
public SearchChatsOnServer()
Returns Chats
public SearchChatsOnServer(java.lang.String query, int limit)
Returns Chats
query
- Query to search for.limit
- The maximum number of chats to be returned.public int getConstructor()
getConstructor
in class TdApi.Function