public static class TdApi.RichTextAnchorLink extends TdApi.RichText
TdApi.RichText.Constructors
Modifier and Type | Field and Description |
---|---|
java.lang.String |
anchorName
The anchor name.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.RichText |
text
The link text.
|
java.lang.String |
url
An HTTP URL, opening the anchor.
|
Constructor and Description |
---|
RichTextAnchorLink()
A link to an anchor on the same web page.
|
RichTextAnchorLink(TdApi.RichText text,
java.lang.String anchorName,
java.lang.String url)
A link to an anchor on the same web page.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.RichText text
public java.lang.String anchorName
public java.lang.String url
public static final int CONSTRUCTOR
public RichTextAnchorLink()
public RichTextAnchorLink(TdApi.RichText text, java.lang.String anchorName, java.lang.String url)
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.public int getConstructor()
getConstructor
in class TdApi.RichText