Class TdApi.RichTextAnchorLink

  • Enclosing class:
    TdApi

    public static class TdApi.RichTextAnchorLink
    extends TdApi.RichText
    A link to an anchor on the same web page.
    • Field Detail

      • 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.