Class TdApi.RichTextMentionName

Enclosing class:
TdApi

public static class TdApi.RichTextMentionName extends TdApi.RichText
A rich text that serves as a mention of a user.
  • Field Details

    • text

      public TdApi.RichText text
      Text.
    • userId

      public long userId
      Identifier of the mentioned user.
    • CONSTRUCTOR

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

    • RichTextMentionName

      public RichTextMentionName()
      A rich text that serves as a mention of a user.
    • RichTextMentionName

      public RichTextMentionName(TdApi.RichText text, long userId)
      A rich text that serves as a mention of a user.
      Parameters:
      text - Text.
      userId - Identifier of the mentioned user.
  • 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