Stickers

setStickerPositionInSet()

Use this method to move a sticker in a set created by the bot to a specific position. Returns True on success.

parameters

parametertyperequireddescription
stickerstringrequiredFile identifier of the sticker
positionnumberrequiredNew sticker position in the set, zero-based

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 { SetStickerPositionInSetParams } from "@yaebal/types";

await bot.api.call<boolean>("setStickerPositionInSet", {
  sticker: "...",
  position: 1,
} satisfies SetStickerPositionInSetParams);