Package org.drinkless.tdlib
Class TdApi.RichTextAnchorLink
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.RichText
-
- org.drinkless.tdlib.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 StringanchorNameThe anchor name.static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.RichTexttextThe link text.StringurlAn 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
text
public TdApi.RichText text
The link text.
-
anchorName
public String anchorName
The anchor name. If the name is empty, the link must bring back to top.
-
url
public String url
An HTTP URL, opening the anchor.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RichTextAnchorLink
public RichTextAnchorLink()
A link to an anchor on the same web page.
-
RichTextAnchorLink
public RichTextAnchorLink(TdApi.RichText text, String anchorName, String url)
A link to an anchor on the same web page.- Parameters:
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-