upload Sticker File
inline fun uploadStickerFile(userId: Long, sticker: InputFile, stickerFormat: StickerFormat): UploadStickerFileAction
Use this method to upload a file with a sticker for later use in the createNewStickerSet, addStickerToSet, or replaceStickerInSet methods (the file can be used multiple times). Returns the uploaded File on success.
Parameters
user Id
User identifier of sticker file owner
sticker
A file with the sticker in .WEBP, .PNG, .TGS, or .WEBM format. See https://core.telegram.org/stickers for technical requirements. More information on Sending Files: https://core.telegram.org/bots/api#sending-files
sticker Format
Format of the sticker, must be one of "static", "animated", "video"