Package it.tdlight.jni
Class TdApi.UploadStickerFile
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.UploadStickerFile
- Enclosing class:
- TdApi
public static class TdApi.UploadStickerFile extends TdApi.Function
Uploads a PNG image with a sticker;
for bots only; returns the uploaded file.
Returns File
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.InputFile
pngSticker
PNG image with the sticker; must be up to 512 KB in size and fit in 512x512 square.int
userId
Sticker file owner. -
Constructor Summary
Constructors Constructor Description UploadStickerFile()
Uploads a PNG image with a sticker; for bots only; returns the uploaded file.UploadStickerFile(int userId, TdApi.InputFile pngSticker)
Uploads a PNG image with a sticker; for bots only; returns the uploaded file.UploadStickerFile(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
userId
public int userIdSticker file owner. -
pngSticker
PNG image with the sticker; must be up to 512 KB in size and fit in 512x512 square. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
UploadStickerFile
public UploadStickerFile()Uploads a PNG image with a sticker; for bots only; returns the uploaded file.Returns
File
-
UploadStickerFile
Uploads a PNG image with a sticker; for bots only; returns the uploaded file.Returns
File
- Parameters:
userId
- int Sticker file owner.pngSticker
- InputFile PNG image with the sticker; must be up to 512 KB in size and fit in 512x512 square.
-
UploadStickerFile
- 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()
-