Package it.tdlight.jni
Class TdApi.InputStickerStatic
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InputSticker
it.tdlight.jni.TdApi.InputStickerStatic
- Enclosing class:
- TdApi
public static class TdApi.InputStickerStatic extends TdApi.InputSticker
A static sticker in PNG format, which
will be converted to WEBP server-side.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
emojis
Emojis corresponding to the sticker.TdApi.MaskPosition
maskPosition
For masks, position where the mask is placed; pass null if unspecified.TdApi.InputFile
sticker
PNG image with the sticker; must be up to 512 KB in size and fit in a 512x512 square. -
Constructor Summary
Constructors Constructor Description InputStickerStatic()
A static sticker in PNG format, which will be converted to WEBP server-side.InputStickerStatic(TdApi.InputFile sticker, String emojis, TdApi.MaskPosition maskPosition)
A static sticker in PNG format, which will be converted to WEBP server-side.InputStickerStatic(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
sticker
PNG image with the sticker; must be up to 512 KB in size and fit in a 512x512 square. -
emojis
Emojis corresponding to the sticker. -
maskPosition
For masks, position where the mask is placed; pass null if unspecified. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
InputStickerStatic
public InputStickerStatic()A static sticker in PNG format, which will be converted to WEBP server-side. -
InputStickerStatic
A static sticker in PNG format, which will be converted to WEBP server-side.- Parameters:
sticker
- InputFile PNG image with the sticker; must be up to 512 KB in size and fit in a 512x512 square.emojis
- String Emojis corresponding to the sticker.maskPosition
- MaskPosition For masks, position where the mask is placed; pass null if unspecified.
-
InputStickerStatic
- 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()
-