public static class TdApi.MessageLink extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isPublic
True, if the link will work for non-members of the chat.
|
java.lang.String |
link
Message link.
|
Constructor and Description |
---|
MessageLink()
Contains an HTTPS link to a message in a supergroup or channel.
|
MessageLink(java.lang.String link,
boolean isPublic)
Contains an HTTPS link to a message in a supergroup or channel.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String link
public boolean isPublic
public static final int CONSTRUCTOR
public MessageLink()
public MessageLink(java.lang.String link, boolean isPublic)
link
- Message link.isPublic
- True, if the link will work for non-members of the chat.public int getConstructor()
getConstructor
in class TdApi.Object