- Enclosing class:
- TdApi
Searches for the specified query in
the title and username of already
known chats, this is an offline request.
Returns chats in the order seen in
the main chat list.
Returns
Chats-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intintThe maximum number of chats to be returned.Query to search for. -
Constructor Summary
ConstructorsConstructorDescriptionSearches for the specified query in the title and username of already known chats, this is an offline request.SearchChats(DataInput input) Searches for the specified query in the title and username of already known chats, this is an offline request.SearchChats(String query, int limit) Searches for the specified query in the title and username of already known chats, this is an offline request. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toStringMethods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
query
Query to search for. If the query is empty, returns up to 50 recently found chats. -
limit
public int limitThe maximum number of chats to be returned. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SearchChats
public SearchChats()Searches for the specified query in the title and username of already known chats, this is an offline request. Returns chats in the order seen in the main chat list. ReturnsChats -
SearchChats
Searches for the specified query in the title and username of already known chats, this is an offline request. Returns chats in the order seen in the main chat list. ReturnsChats- Parameters:
query- String Query to search for. If the query is empty, returns up to 50 recently found chats.limit- int The maximum number of chats to be returned.
-
SearchChats
Searches for the specified query in the title and username of already known chats, this is an offline request. Returns chats in the order seen in the main chat list. ReturnsChats- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-