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 Details

    • 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
      See Also:
      Constant Field Values
  • Constructor Details

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

      public RichTextAnchorLink​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details