libtd-ktx / kotlinx.telegram.extensions / UserKtx / uploadStickerFile
uploadStickerFile
open suspend fun
User
.uploadStickerFile(pngSticker:
InputFile
?):
File
Suspend function, which uploads a PNG image with a sticker; for bots only; returns the uploaded file.
Parameters
pngSticker
- PNG image with the sticker; must be up to 512 kB in size and fit in 512x512
square.
Return TdApi.File Represents a file.