• Add a sticker to a sticker set.

    For bots the sticker set must have been created by this bot.

    Parameters

    • client: ITelegramClient
    • setId: InputStickerSet

      Sticker set short name or TL object with input sticker set

    • sticker: InputStickerSetItem

      Sticker to be added

    • Optionalparams: {
          progressCallback?: ((uploaded: number, total: number) => void);
      }
      • OptionalprogressCallback?: ((uploaded: number, total: number) => void)

        Upload progress callback

          • (uploaded, total): void
          • Parameters

            • uploaded: number

              Number of bytes uploaded

            • total: number

              Total file size

            Returns void

    Returns Promise<StickerSet>

    Modfiied sticker set