Skip to main content
Module

x/grammy/mod.ts>Api#setStickerEmojiList

The Telegram Bot Framework.
Very Popular
Latest
method Api.prototype.setStickerEmojiList
import { Api } from "https://deno.land/x/grammy@v1.22.4/mod.ts";

Use this method to change the list of emoji assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot. Returns True on success.

Parameters

sticker: string

File identifier of the sticker

emoji_list: string[]

A list of 1-20 emoji associated with the sticker

optional
signal: AbortSignal

Optional AbortSignal to cancel the request

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