public static class TdApi.SearchPublicChats extends TdApi.Function
Returns Chats
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
query
Query to search for.
|
Constructor and Description |
---|
SearchPublicChats()
Default constructor for a function, which searches public chats by looking for specified query in their username and title.
|
SearchPublicChats(java.lang.String query)
Creates a function, which searches public chats by looking for specified query in their username and title.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String query
public static final int CONSTRUCTOR
public SearchPublicChats()
Returns Chats
public SearchPublicChats(java.lang.String query)
Returns Chats
query
- Query to search for.public int getConstructor()
getConstructor
in class TdApi.Function