setStickerPositionInSet()
Use this method to move a sticker in a set created by the bot to a specific position. Returns True on success.
parameters
| parameter | type | required | description |
|---|---|---|---|
sticker | string | required | File identifier of the sticker |
position | number | required | New 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.
import type { SetStickerPositionInSetParams } from "@yaebal/types";
await bot.api.call<boolean>("setStickerPositionInSet", {
sticker: "...",
position: 1,
} satisfies SetStickerPositionInSetParams);official Bot API docs: https://core.telegram.org/bots/api/#setstickerpositioninset