Class TdApi.TextEntityTypeTextUrl

Enclosing class:
TdApi

public static class TdApi.TextEntityTypeTextUrl extends TdApi.TextEntityType
A text description shown instead of a raw URL.
  • Field Details

    • url

      public String url
      HTTP or tg:// URL to be opened when the link is clicked.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • TextEntityTypeTextUrl

      public TextEntityTypeTextUrl()
      A text description shown instead of a raw URL.
    • TextEntityTypeTextUrl

      public TextEntityTypeTextUrl(String url)
      A text description shown instead of a raw URL.
      Parameters:
      url - HTTP or tg:// URL to be opened when the link is clicked.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR