java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.RichText
it.tdlight.jni.TdApi.RichTextAnchorLink
- Enclosing class:
- TdApi
A link to an anchor on the same web page.
-
Field Summary
Modifier and TypeFieldDescriptionThe anchor name.static final int
The link text.An HTTP URL, opening the anchor. -
Constructor Summary
ConstructorDescriptionA 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) A link to an anchor on the same web page. -
Method Summary
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:
-
-
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
A link to an anchor on the same web page.- 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()
-