Package it.tdlight.jni
Class TdApi.RichTextAnchorLink
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.RichText
it.tdlight.jni.TdApi.RichTextAnchorLink
- Enclosing class:
- TdApi
public static class TdApi.RichTextAnchorLink extends TdApi.RichText
A link to an anchor on the same web page.
-
Field Summary
Fields Modifier and Type Field Description String
anchorName
The anchor name.static int
CONSTRUCTOR
TdApi.RichText
text
The link text.String
url
An HTTP URL, opening the anchor. -
Constructor Summary
Constructors Constructor Description RichTextAnchorLink()
A link to an anchor on the same web page.RichTextAnchorLink(TdApi.RichText text, String anchorName, String url)
A link to an anchor on the same web page.RichTextAnchorLink(DataInput input)
-
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
-
text
The link text. -
anchorName
The anchor name. If the name is empty, the link must bring back to top. -
url
An HTTP URL, opening the anchor. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
RichTextAnchorLink
public RichTextAnchorLink()A link to an anchor on the same web page. -
RichTextAnchorLink
A link to an anchor on the same web page.- Parameters:
text
- RichText The link text.anchorName
- String The anchor name. If the name is empty, the link must bring back to top.url
- String An HTTP URL, opening the anchor.
-
RichTextAnchorLink
- 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()
-