replaceStickerInStickerSet
Replace a sticker in a sticker set.
Parameters
currentStickerFileId: string
The identifier of the current sticker.
The new sticker to use.
The identifier of the owner of the sticker set. Required for bots. Bot-only.
Result
void
Syntax
// Required parameters only.
await client.replaceStickerInStickerSet(currentStickerFileId, newSticker);
// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.replaceStickerInStickerSet(currentStickerFileId, newSticker, { userId });