Module tdlight.api

Class TdApi.RichTextReference

Enclosing class:
TdApi

public static final class TdApi.RichTextReference extends TdApi.RichText
A reference to a richTexts object on the same web page.
  • Field Details

    • text

      public TdApi.RichText text
      The text.
    • anchorName

      public String anchorName
      The name of a richTextAnchor object, which is the first element of the target richTexts object.
    • url

      public String url
      An HTTP URL, opening the reference.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • RichTextReference

      public RichTextReference()
      A reference to a richTexts object on the same web page.
    • RichTextReference

      public RichTextReference(TdApi.RichText text, String anchorName, String url)
      A reference to a richTexts object on the same web page.
      Parameters:
      text - RichText The text.
      anchorName - String The name of a richTextAnchor object, which is the first element of the target richTexts object.
      url - String An HTTP URL, opening the reference.
    • RichTextReference

      public RichTextReference(DataInput input) throws IOException
      A reference to a richTexts object on the same web page.
      Throws:
      IOException
  • Method Details