Class TdApi.RichTextCustomEmoji

Enclosing class:
TdApi

public static class TdApi.RichTextCustomEmoji extends TdApi.RichText
A custom emoji.
  • Field Details

    • customEmojiId

      public long customEmojiId
      Unique identifier of the custom emoji.
    • alternativeText

      public String alternativeText
      Alternative text for the custom emoji.
    • CONSTRUCTOR

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

    • RichTextCustomEmoji

      public RichTextCustomEmoji()
      A custom emoji.
    • RichTextCustomEmoji

      public RichTextCustomEmoji(long customEmojiId, String alternativeText)
      A custom emoji.
      Parameters:
      customEmojiId - Unique identifier of the custom emoji.
      alternativeText - Alternative text for the custom emoji.
  • 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