Class: TD::Types::AnimatedEmoji

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/animated_emoji.rb

Overview

Describes an animated or custom representation of an emoji.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#fitzpatrick_typeInteger

Emoji modifier fitzpatrick type; 0-6; 0 if none.

Returns:

  • (Integer)

    the current value of fitzpatrick_type



11
12
13
# File 'lib/tdlib/types/animated_emoji.rb', line 11

def fitzpatrick_type
  @fitzpatrick_type
end

#soundTD::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.

Returns:



11
12
13
# File 'lib/tdlib/types/animated_emoji.rb', line 11

def sound
  @sound
end

#stickerTD::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.

Returns:



11
12
13
# File 'lib/tdlib/types/animated_emoji.rb', line 11

def sticker
  @sticker
end

#sticker_heightInteger

Expected height of the sticker, which can be used if the sticker is null.

Returns:

  • (Integer)

    the current value of sticker_height



11
12
13
# File 'lib/tdlib/types/animated_emoji.rb', line 11

def sticker_height
  @sticker_height
end

#sticker_widthInteger

Expected width of the sticker, which can be used if the sticker is null.

Returns:

  • (Integer)

    the current value of sticker_width



11
12
13
# File 'lib/tdlib/types/animated_emoji.rb', line 11

def sticker_width
  @sticker_width
end