Class: TD::Types::StickerFullType::CustomEmoji
- Inherits:
-
TD::Types::StickerFullType
- Object
- Dry::Struct
- Base
- TD::Types::StickerFullType
- TD::Types::StickerFullType::CustomEmoji
- Defined in:
- lib/tdlib/types/sticker_full_type/custom_emoji.rb
Overview
The sticker is a custom emoji to be used inside message text and caption. Currently, only Telegram Premium users can use custom emoji.
Instance Attribute Summary collapse
-
#custom_emoji_id ⇒ Integer
Identifier of the custom emoji.
-
#needs_repainting ⇒ Boolean
True, if the sticker must be repainted to a text color in messages, the color of the Telegram Premium badge in emoji status, white color on chat photos, or another appropriate color in other places.
Method Summary
Methods inherited from Base
Instance Attribute Details
#custom_emoji_id ⇒ Integer
Identifier of the custom emoji.
8 9 10 |
# File 'lib/tdlib/types/sticker_full_type/custom_emoji.rb', line 8 def custom_emoji_id @custom_emoji_id end |
#needs_repainting ⇒ Boolean
True, if the sticker must be repainted to a text color in messages, the color of the Telegram Premium badge in emoji status, white color on chat photos, or another appropriate color in other places.
8 9 10 |
# File 'lib/tdlib/types/sticker_full_type/custom_emoji.rb', line 8 def needs_repainting @needs_repainting end |