public static class TdApi.InternalLinkTypePublicChat extends TdApi.InternalLinkType
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
chatUsername
Username of the chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
draftText
Draft text for message to send in the chat.
|
boolean |
openProfile
True, if chat profile information screen must be opened; otherwise, the chat itself must be opened.
|
| Constructor and Description |
|---|
InternalLinkTypePublicChat()
The link is a link to a chat by its username.
|
InternalLinkTypePublicChat(java.lang.String chatUsername,
java.lang.String draftText,
boolean openProfile)
The link is a link to a 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 chatUsername
public java.lang.String draftText
public boolean openProfile
public static final int CONSTRUCTOR
public InternalLinkTypePublicChat()
public InternalLinkTypePublicChat(java.lang.String chatUsername,
java.lang.String draftText,
boolean openProfile)
chatUsername - Username of the chat.draftText - Draft text for message to send in the chat.openProfile - True, if chat profile information screen must be opened; otherwise, the chat itself must be opened.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object