Class TdApi.TextEntityTypeCustomEmoji

Enclosing class:
TdApi

public static class TdApi.TextEntityTypeCustomEmoji extends TdApi.TextEntityType
A custom emoji. The text behind a custom emoji must be an emoji. Only premium users can use premium custom emoji.
  • Field Details

    • customEmojiId

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

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

    • TextEntityTypeCustomEmoji

      public TextEntityTypeCustomEmoji()
      A custom emoji. The text behind a custom emoji must be an emoji. Only premium users can use premium custom emoji.
    • TextEntityTypeCustomEmoji

      public TextEntityTypeCustomEmoji(long customEmojiId)
      A custom emoji. The text behind a custom emoji must be an emoji. Only premium users can use premium custom emoji.
      Parameters:
      customEmojiId - Unique identifier of 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