Skip to main content
Very Popular
Latest
method Api.prototype.setCustomEmojiStickerSetThumbnail
import { Api } from "https://deno.land/x/grammy@v1.22.4/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