Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_autoquote/deps.deno.ts>Api#setCustomEmojiStickerSetThumbnail

grammY plugin that forces all sent messages to quote the last received one
Go to Latest
method Api.prototype.setCustomEmojiStickerSetThumbnail
import { Api } from "https://deno.land/x/grammy_autoquote@v2.0.0/deps.deno.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