- Enclosing class:
- TdApi
Uploads a PNG image with a sticker;
returns the uploaded file.
Returns File
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Sticker file to upload.long
Sticker file owner; ignored for regular users. -
Constructor Summary
ConstructorDescriptionUploads 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) Uploads a PNG image with a sticker; returns the uploaded file. -
Method Summary
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:
-
-
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
Uploads a PNG image with a sticker; returns the uploaded file.Returns
File
- 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()
-