public static class TdApi.InputStickerStatic extends TdApi.InputSticker
TdApi.InputSticker.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.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 and Description |
---|
InputStickerStatic()
A static sticker in PNG format, which will be converted to WEBP server-side.
|
InputStickerStatic(TdApi.InputFile sticker,
java.lang.String emojis,
TdApi.MaskPosition maskPosition)
A static sticker in PNG format, which will be converted to WEBP server-side.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.InputFile sticker
public java.lang.String emojis
public TdApi.MaskPosition maskPosition
public static final int CONSTRUCTOR
public InputStickerStatic()
public InputStickerStatic(TdApi.InputFile sticker, java.lang.String emojis, TdApi.MaskPosition maskPosition)
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.public int getConstructor()
getConstructor
in class TdApi.InputSticker