Stickers

setCustomEmojiStickerSetThumbnail()

Use this method to set the thumbnail of a custom emoji sticker set. Returns True on success.

parameters

parametertyperequireddescription
namestringrequiredSticker set name
custom_emoji_idstringoptionalCustom 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.

bot.ts
import type { SetCustomEmojiStickerSetThumbnailParams } from "@yaebal/types";

await bot.api.call<boolean>("setCustomEmojiStickerSetThumbnail", {
  name: "...",
} satisfies SetCustomEmojiStickerSetThumbnailParams);