java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InputSticker
it.tdlight.jni.TdApi.InputStickerStatic
- Enclosing class:
- TdApi
A static sticker in PNG format, which
will be converted to WEBP server-side.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Emojis corresponding to the sticker.For masks, position where the mask is placed; pass null if unspecified.PNG image with the sticker; must be up to 512 KB in size and fit in a 512x512 square. -
Constructor Summary
ConstructorDescriptionA 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) A static sticker in PNG format, which will be converted to WEBP server-side. -
Method Summary
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:
-
-
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
A static sticker in PNG format, which will be converted to WEBP server-side.- 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()
-