Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Latest
method Api.prototype.setCustomEmojiStickerSetThumbnail
import { Api } from "https://deno.land/x/grammy@v1.30.1/mod.ts";

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

Parameters

name: string

Sticker set name

custom_emoji_id: string

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.

optional
signal: AbortSignal

Optional AbortSignal to cancel the request

Official reference: https://core.telegram.org/bots/api#setcustomemojistickersetthumbnail