UploadStickerFileRequest

data class UploadStickerFileRequest(user_id: Long, png_sticker: Any) : TelegramRequest

Use this method to upload a .PNG file with a sticker for later use in createNewStickerSet and addStickerToSet methods (can be used multiple times). Returns the uploaded File on success.

Constructors

UploadStickerFileRequest
Link copied to clipboard
fun UploadStickerFileRequest(user_id: Long, png_sticker: Any)

Properties

png_sticker
Link copied to clipboard
val png_sticker: Any
PNG image with the sticker, must be up to 512 kilobytes in size, dimensions must not exceed 512px, and either width or height must be exactly 512px.
user_id
Link copied to clipboard
val user_id: Long
User identifier of sticker file owner