Stickers

deleteStickerFromSet()

Use this method to delete a sticker from a set created by the bot. Returns True on success.

parameters

parametertyperequireddescription
stickerstringrequiredFile identifier of the sticker

returns

boolean

usage in yaebal

not (yet) hard-typed on Api — call it through the generic .call<T>() escape hatch documented in @yaebal/types.

bot.ts
import type { DeleteStickerFromSetParams } from "@yaebal/types";

await bot.api.call<boolean>("deleteStickerFromSet", {
  sticker: "...",
} satisfies DeleteStickerFromSetParams);