public static class TdApi.SearchRecentlyFoundChats extends TdApi.Function<TdApi.Chats>
Returns Chats
| 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 |
|---|
SearchRecentlyFoundChats()
Default constructor for a function, which searches for the specified query in the title and username of up to 50 recently found chats; this is an offline request.
|
SearchRecentlyFoundChats(java.lang.String query,
int limit)
Creates a function, which searches for the specified query in the title and username of up to 50 recently found chats; this is an offline request.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String query
public int limit
public static final int CONSTRUCTOR
public SearchRecentlyFoundChats()
Returns Chats
public SearchRecentlyFoundChats(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()
TdApi.ObjectgetConstructor in class TdApi.Object