Class: TD::Types::AnimatedEmoji
- Defined in:
- lib/tdlib/types/animated_emoji.rb
Overview
Describes an animated or custom representation of an emoji.
Instance Attribute Summary collapse
-
#fitzpatrick_type ⇒ Integer
Emoji modifier fitzpatrick type; 0-6; 0 if none.
-
#sound ⇒ TD::Types::File?
File containing the sound to be played when the sticker is clicked; may be null.
-
#sticker ⇒ TD::Types::Sticker?
Sticker for the emoji; may be null if yet unknown for a custom emoji.
-
#sticker_height ⇒ Integer
Expected height of the sticker, which can be used if the sticker is null.
-
#sticker_width ⇒ Integer
Expected width of the sticker, which can be used if the sticker is null.
Method Summary
Methods inherited from Base
Instance Attribute Details
#fitzpatrick_type ⇒ Integer
Emoji modifier fitzpatrick type; 0-6; 0 if none.
11 12 13 |
# File 'lib/tdlib/types/animated_emoji.rb', line 11 def fitzpatrick_type @fitzpatrick_type end |
#sound ⇒ TD::Types::File?
File containing the sound to be played when the sticker is clicked; may be null. The sound is encoded with the Opus codec, and stored inside an OGG container.
11 12 13 |
# File 'lib/tdlib/types/animated_emoji.rb', line 11 def sound @sound end |
#sticker ⇒ TD::Types::Sticker?
Sticker for the emoji; may be null if yet unknown for a custom emoji. If the sticker is a custom emoji, then it can have arbitrary format.
11 12 13 |
# File 'lib/tdlib/types/animated_emoji.rb', line 11 def sticker @sticker end |
#sticker_height ⇒ Integer
Expected height of the sticker, which can be used if the sticker is null.
11 12 13 |
# File 'lib/tdlib/types/animated_emoji.rb', line 11 def sticker_height @sticker_height end |
#sticker_width ⇒ Integer
Expected width of the sticker, which can be used if the sticker is null.
11 12 13 |
# File 'lib/tdlib/types/animated_emoji.rb', line 11 def sticker_width @sticker_width end |