Class TdApi.RichTextMention

Enclosing class:
TdApi

public static class TdApi.RichTextMention extends TdApi.RichText
A mention of a Telegram user or chat by a username.
  • Field Details

    • text

      public TdApi.RichText text
      Text.
    • username

      public String username
      The username.
    • CONSTRUCTOR

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

    • RichTextMention

      public RichTextMention()
      A mention of a Telegram user or chat by a username.
    • RichTextMention

      public RichTextMention(TdApi.RichText text, String username)
      A mention of a Telegram user or chat by a username.
      Parameters:
      text - Text.
      username - The username.
  • 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