- Enclosing class:
- TdApi
Uploads a file with a sticker; returns
the uploaded file.
Returns
File-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intFile file to upload; must fit in a 512x512 square.Sticker format.longSticker file owner; ignored for regular users. -
Constructor Summary
ConstructorsConstructorDescriptionUploads a file with a sticker; returns the uploaded file.UploadStickerFile(long userId, TdApi.StickerFormat stickerFormat, TdApi.InputFile sticker) Uploads a file with a sticker; returns the uploaded file.UploadStickerFile(DataInput input) Uploads a file with a sticker; returns the uploaded file. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toStringMethods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
userId
public long userIdSticker file owner; ignored for regular users. -
stickerFormat
Sticker format. -
sticker
File file to upload; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
UploadStickerFile
public UploadStickerFile()Uploads a file with a sticker; returns the uploaded file. ReturnsFile -
UploadStickerFile
Uploads a file with a sticker; returns the uploaded file. ReturnsFile- Parameters:
userId- long Sticker file owner; ignored for regular users.stickerFormat- StickerFormat Sticker format.sticker- InputFile File file to upload; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements.
-
UploadStickerFile
Uploads a file with a sticker; returns the uploaded file. ReturnsFile- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-