java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.AnimatedEmoji
- Enclosing class:
- TdApi
Describes an animated representation
of an emoji.
-
Field Summary
Modifier and TypeFieldDescriptionList of colors to be replaced while the sticker is rendered.static final int
File containing the sound to be played when the animated emoji is clicked if any; may be null.Animated sticker for the emoji. -
Constructor Summary
ConstructorDescriptionDescribes an animated representation of an emoji.AnimatedEmoji
(TdApi.Sticker sticker, TdApi.ColorReplacement[] colorReplacements, TdApi.File sound) Describes an animated representation of an emoji.AnimatedEmoji
(DataInput input) Describes an animated representation of an emoji. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
sticker
Animated sticker for the emoji. -
colorReplacements
List of colors to be replaced while the sticker is rendered. -
sound
File containing the sound to be played when the animated emoji is clicked if any; may be null. The sound is encoded with the Opus codec, and stored inside an OGG container. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
AnimatedEmoji
public AnimatedEmoji()Describes an animated representation of an emoji. -
AnimatedEmoji
public AnimatedEmoji(TdApi.Sticker sticker, TdApi.ColorReplacement[] colorReplacements, TdApi.File sound) Describes an animated representation of an emoji.- Parameters:
sticker
- Sticker Animated sticker for the emoji.colorReplacements
- ColorReplacement[] List of colors to be replaced while the sticker is rendered.sound
- File File containing the sound to be played when the animated emoji is clicked if any; may be null. The sound is encoded with the Opus codec, and stored inside an OGG container.
-
AnimatedEmoji
Describes an animated representation of an emoji.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-