Class: TD::Types::TextEntityType::CustomEmoji

Inherits:
TD::Types::TextEntityType show all
Defined in:
lib/tdlib/types/text_entity_type/custom_emoji.rb

Overview

A custom emoji. The text behind a custom emoji must be an emoji. Only premium users can use premium custom emoji.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#custom_emoji_idInteger

Unique identifier of the custom emoji.

Returns:

  • (Integer)

    the current value of custom_emoji_id



7
8
9
# File 'lib/tdlib/types/text_entity_type/custom_emoji.rb', line 7

def custom_emoji_id
  @custom_emoji_id
end