import { Api } from "https://deno.land/x/grammy_menu@v1.2.2/deps.deno.ts";
Use this method to replace an existing sticker in a sticker set with a new one. The method is equivalent to calling deleteStickerFromSet, then addStickerToSet, then setStickerPositionInSet. Returns True on success.
Parameters
sticker: InputSticker
An object with information about the added sticker. If exactly the same sticker had already been added to the set, then the set remains unchanged.:x
optional
signal: AbortSignalOptional AbortSignal
to cancel the request
Official reference: https://core.telegram.org/bots/api#replacestickerinset