Package org.drinkless.tdlib
Class TdApi.UploadStickerFile
- Enclosing class:
- TdApi
Uploads a file with a sticker; returns the uploaded file.
Returns File
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.File file to upload; must fit in a 512x512 square.Sticker format.longSticker file owner; ignored for regular users. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which uploads a file with a sticker; returns the uploaded file.UploadStickerFile(long userId, TdApi.StickerFormat stickerFormat, TdApi.InputFile sticker) Creates a function, which uploads a file with a sticker; returns the uploaded file. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
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 CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UploadStickerFile
public UploadStickerFile()Default constructor for a function, which uploads a file with a sticker; returns the uploaded file.Returns
File -
UploadStickerFile
Creates a function, which uploads a file with a sticker; returns the uploaded file.Returns
File- Parameters:
userId- Sticker 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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-