public static class TdApi.SearchPublicChat extends TdApi.Function<TdApi.Chat>
Returns Chat
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
username
Username to be resolved.
|
| Constructor and Description |
|---|
SearchPublicChat()
Default constructor for a function, which searches a public chat by its username.
|
SearchPublicChat(java.lang.String username)
Creates a function, which searches a public chat by its username.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String username
public static final int CONSTRUCTOR
public SearchPublicChat()
Returns Chat
public SearchPublicChat(java.lang.String username)
Returns Chat
username - Username to be resolved.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object