java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.AnimatedEmoji
- Enclosing class:
- TdApi
Describes an animated or custom
representation of an emoji.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
int
Emoji modifier fitzpatrick type; 0-6; 0 if none.File containing the sound to be played when the sticker is clicked; may be null.Sticker for the emoji; may be null if yet unknown for a custom emoji. -
Constructor Summary
ConstructorDescriptionDescribes an animated or custom representation of an emoji.AnimatedEmoji
(TdApi.Sticker sticker, int fitzpatrickType, TdApi.File sound) Describes an animated or custom representation of an emoji.AnimatedEmoji
(DataInput input) Describes an animated or custom representation of an emoji. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
sticker
Sticker for the emoji; may be null if yet unknown for a custom emoji. If the sticker is a custom emoji, it can have arbitrary format different from stickerFormatTgs. -
fitzpatrickType
public int fitzpatrickTypeEmoji modifier fitzpatrick type; 0-6; 0 if none. -
sound
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. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
AnimatedEmoji
public AnimatedEmoji()Describes an animated or custom representation of an emoji. -
AnimatedEmoji
Describes an animated or custom representation of an emoji.- Parameters:
sticker
- Sticker Sticker for the emoji; may be null if yet unknown for a custom emoji. If the sticker is a custom emoji, it can have arbitrary format different from stickerFormatTgs.fitzpatrickType
- int 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.
-
AnimatedEmoji
Describes an animated or custom 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()
-