Skip to main content
Module

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

Handle and download received media files.
Latest
method Api.prototype.setCustomEmojiStickerSetThumbnail
import { Api } from "https://deno.land/x/grammy_files@v1.1.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