java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InputSticker
- Enclosing class:
- TdApi
A sticker to be added to a sticker set.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Emojis corresponding to the sticker.File with the sticker; must fit in a 512x512 square.Sticker type. -
Constructor Summary
ConstructorDescriptionA sticker to be added to a sticker set.InputSticker
(TdApi.InputFile sticker, String emojis, TdApi.StickerType type) A sticker to be added to a sticker set.InputSticker
(DataInput input) A sticker to be added to a sticker set. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
sticker
File with the sticker; must fit in a 512x512 square. For WEBP stickers and masks the file must be in PNG format, which will be converted to WEBP server-side. Otherwise, the file must be local or uploaded within a week. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements. -
emojis
Emojis corresponding to the sticker. -
type
Sticker type. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
InputSticker
public InputSticker()A sticker to be added to a sticker set. -
InputSticker
A sticker to be added to a sticker set.- Parameters:
sticker
- InputFile File with the sticker; must fit in a 512x512 square. For WEBP stickers and masks the file must be in PNG format, which will be converted to WEBP server-side. Otherwise, the file must be local or uploaded within a week. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements.emojis
- String Emojis corresponding to the sticker.type
- StickerType Sticker type.
-
InputSticker
A sticker to be added to a sticker set.- 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()
-