Package it.tdlight.jni
Class TdApi.MessageLink
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageLink
- Enclosing class:
- TdApi
public static class TdApi.MessageLink extends TdApi.Object
Contains an HTTPS link to a message
in a supergroup or channel.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
boolean
isPublic
True, if the link will work for non-members of the chat.String
link
Message link. -
Constructor Summary
Constructors Constructor Description MessageLink()
Contains an HTTPS link to a message in a supergroup or channel.MessageLink(DataInput input)
MessageLink(String link, boolean isPublic)
Contains an HTTPS link to a message in a supergroup or channel. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
link
Message link. -
isPublic
public boolean isPublicTrue, if the link will work for non-members of the chat. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
MessageLink
public MessageLink()Contains an HTTPS link to a message in a supergroup or channel. -
MessageLink
Contains an HTTPS link to a message in a supergroup or channel.- Parameters:
link
- String Message link.isPublic
- boolean True, if the link will work for non-members of the chat.
-
MessageLink
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-