public static class TdApi.UploadStickerFile extends TdApi.Function<TdApi.File>
Returns File
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.InputFile |
sticker
File file to upload; must fit in a 512x512 square.
|
TdApi.StickerFormat |
stickerFormat
Sticker format.
|
long |
userId
Sticker file owner; ignored for regular users.
|
| Constructor and Description |
|---|
UploadStickerFile()
Default 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long userId
public TdApi.StickerFormat stickerFormat
public TdApi.InputFile sticker
public static final int CONSTRUCTOR
public UploadStickerFile()
Returns File
public UploadStickerFile(long userId,
TdApi.StickerFormat stickerFormat,
TdApi.InputFile sticker)
Returns File
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object