Package org.drinkless.tdlib
Class TdApi.AnimatedEmoji
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.AnimatedEmoji
- Enclosing class:
- TdApi
Describes an animated or custom representation of an emoji.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intEmoji 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.intExpected height of the sticker, which can be used if the sticker is null.intExpected width of the sticker, which can be used if the sticker is null. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes an animated or custom representation of an emoji.AnimatedEmoji(TdApi.Sticker sticker, int stickerWidth, int stickerHeight, int fitzpatrickType, TdApi.File sound) Describes an animated or custom representation of an emoji. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
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, then it can have arbitrary format. -
stickerWidth
public int stickerWidthExpected width of the sticker, which can be used if the sticker is null. -
stickerHeight
public int stickerHeightExpected height of the sticker, which can be used if the sticker is null. -
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 CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AnimatedEmoji
public AnimatedEmoji()Describes an animated or custom representation of an emoji. -
AnimatedEmoji
public AnimatedEmoji(TdApi.Sticker sticker, int stickerWidth, int stickerHeight, int fitzpatrickType, TdApi.File sound) Describes an animated or custom representation of an emoji.- Parameters:
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.stickerWidth- Expected width of the sticker, which can be used if the sticker is null.stickerHeight- Expected height of the sticker, which can be used if the sticker is null.fitzpatrickType- Emoji 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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-