Package org.drinkless.tdlib
Class TdApi.InputStickerStatic
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.InputSticker
-
- org.drinkless.tdlib.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 intCONSTRUCTORIdentifier uniquely determining type of the object.StringemojisEmojis corresponding to the sticker.TdApi.MaskPositionmaskPositionFor masks, position where the mask is placed; pass null if unspecified.TdApi.InputFilestickerPNG 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
sticker
public TdApi.InputFile sticker
PNG image with the sticker; must be up to 512 KB in size and fit in a 512x512 square.
-
emojis
public String emojis
Emojis corresponding to the sticker.
-
maskPosition
public TdApi.MaskPosition maskPosition
For masks, position where the mask is placed; pass null if unspecified.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InputStickerStatic
public InputStickerStatic()
A static sticker in PNG format, which will be converted to WEBP server-side.
-
InputStickerStatic
public InputStickerStatic(TdApi.InputFile sticker, String emojis, TdApi.MaskPosition maskPosition)
A static sticker in PNG format, which will be converted to WEBP server-side.- Parameters:
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-