getCustomEmojiStickers()
Use this method to get information about custom emoji stickers by their identifiers. Returns an Array of Sticker objects.
parameters
| parameter | type | required | description |
|---|---|---|---|
custom_emoji_ids | string[] | required | A JSON-serialized list of custom emoji identifiers. At most 200 custom emoji identifiers can be specified. |
returns
Sticker[]
usage in yaebal
getCustomEmojiStickers is directly typed on Api — call it straight off bot.api.
import type { GetCustomEmojiStickersParams } from "@yaebal/types";
await bot.api.getCustomEmojiStickers({
custom_emoji_ids: [],
} satisfies GetCustomEmojiStickersParams);official Bot API docs: https://core.telegram.org/bots/api/#getcustomemojistickers