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;
returns the uploaded file.
Returns File
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.InputSticker
sticker
Sticker file to upload.long
userId
Sticker file owner; ignored for regular users. -
Constructor Summary
Constructors Constructor Description UploadStickerFile()
Uploads a PNG image with a sticker; returns the uploaded file.UploadStickerFile(long userId, TdApi.InputSticker sticker)
Uploads a PNG image with a sticker; returns the uploaded file.UploadStickerFile(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput 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 long userIdSticker file owner; ignored for regular users. -
sticker
Sticker file to upload. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
UploadStickerFile
public UploadStickerFile()Uploads a PNG image with a sticker; returns the uploaded file.Returns
File
-
UploadStickerFile
Uploads a PNG image with a sticker; returns the uploaded file.Returns
File
- Parameters:
userId
- long Sticker file owner; ignored for regular users.sticker
- InputSticker Sticker file to upload.
-
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()
-