Stickers

getCustomEmojiStickers()

Use this method to get information about custom emoji stickers by their identifiers. Returns an Array of Sticker objects.

parameters

parametertyperequireddescription
custom_emoji_idsstring[]requiredA JSON-serialized list of custom emoji identifiers. At most 200 custom emoji identifiers can be specified.

returns

Sticker[]

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

await bot.api.call<Sticker[]>("getCustomEmojiStickers", {
  custom_emoji_ids: [],
} satisfies GetCustomEmojiStickersParams);