setCustomEmojiStickerSetThumbnail()
Use this method to set the thumbnail of a custom emoji sticker set. Returns True on success.
parameters
| parameter | type | required | description |
|---|---|---|---|
name | string | required | Sticker set name |
custom_emoji_id | string | optional | Custom emoji identifier of a sticker from the sticker set; pass an empty string to drop the thumbnail and use the first sticker as the thumbnail |
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 { SetCustomEmojiStickerSetThumbnailParams } from "@yaebal/types";
await bot.api.call<boolean>("setCustomEmojiStickerSetThumbnail", {
name: "...",
} satisfies SetCustomEmojiStickerSetThumbnailParams);official Bot API docs: https://core.telegram.org/bots/api/#setcustomemojistickersetthumbnail