Stickers

setStickerEmojiList()

Use this method to change the list of emoji assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot. Returns True on success.

parameters

parametertyperequireddescription
stickerstringrequiredFile identifier of the sticker
emoji_liststring[]requiredA JSON-serialized list of 1-20 emoji associated with 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 { SetStickerEmojiListParams } from "@yaebal/types";

await bot.api.call<boolean>("setStickerEmojiList", {
  sticker: "...",
  emoji_list: [],
} satisfies SetStickerEmojiListParams);