TelegramBot.addStickerToSet

Add a new sticker to a set

  1. bool addStickerToSet(int user_id, string name, string png_sticker, string emojis)
    struct TelegramBot
    @trusted
    bool
    addStickerToSet
    (,
    string name
    ,,
    string emojis
    )
  2. bool addStickerToSet(AddStickerToSetMethod m)

Parameters

user_id int

User identifier of created sticker set owner

name string

Sticker set name

png_sticker string

Png image with a sticker, Pass file_id or an HTTP URL to get a file from the Internet

emojis string

One or more emoji corresponding to the sticker

Return Value

Type: bool

true on success

Throws

TelegramBotException on errors

See Also

Meta