public static class TdApi.AnimatedEmoji extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
fitzpatrickType
Emoji modifier fitzpatrick type; 0-6; 0 if none.
|
TdApi.File |
sound
File containing the sound to be played when the sticker is clicked; may be null.
|
TdApi.Sticker |
sticker
Sticker for the emoji; may be null if yet unknown for a custom emoji.
|
int |
stickerHeight
Expected height of the sticker, which can be used if the sticker is null.
|
int |
stickerWidth
Expected width of the sticker, which can be used if the sticker is null.
|
| Constructor and Description |
|---|
AnimatedEmoji()
Describes 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.Sticker sticker
public int stickerWidth
public int stickerHeight
public int fitzpatrickType
public TdApi.File sound
public static final int CONSTRUCTOR
public AnimatedEmoji()
public AnimatedEmoji(TdApi.Sticker sticker, int stickerWidth, int stickerHeight, int fitzpatrickType, TdApi.File sound)
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object