Skip to content

AnimatedEmoji

Type · TDLib 1.8.67 · d1085f9c

Describes an animated or custom representation of an emoji

AnimatedEmoji(
  sticker: Sticker,
  sticker_width: int32,
  sticker_height: int32,
  fitzpatrick_type: int32,
  sound: File
) → AnimatedEmoji

sticker

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

sticker_width

int32

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

sticker_height

int32

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

fitzpatrick_type

int32

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

sound

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