TelegramBot.uploadStickerFile

Upload a .png file to create a new sticker set or add to an existing one

More...
  1. File uploadStickerFile(int user_id, InputFile png_sticker)
    struct TelegramBot
    @trusted deprecated
    uploadStickerFile
  2. File uploadStickerFile(UploadStickerFileMethod m)

Parameters

user_id int

User identifier of sticker file owner

png_sticker InputFile

Png image with the sticker

Return Value

Type: File

Uploaded File on success

Detailed Description

Deprecated: InputFile isn't supported yet

Throws

TelegramBotException on errors

See Also

Meta