setStickerEmojiList
Returns boolean ↗
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.
Required: sticker, emoji_list
Try it
TypeScript example · @effect-ak/tg-bot-client
import { makeTgBotClient } from "@effect-ak/tg-bot-client"
const client = makeTgBotClient({ bot_token: "YOUR_BOT_TOKEN" })
const result = await client.execute("set_sticker_emoji_list", { sticker: "...", emoji_list: []})Parameters
sticker string Required
File identifier of the sticker.
emoji_list string[] Required
A JSON-serialized list of 1-20 emoji associated with the sticker.
Related methods
setBusinessAccountBio · setBusinessAccountGiftSettings · setBusinessAccountName · setBusinessAccountProfilePhoto · setBusinessAccountUsername · setChatAdministratorCustomTitle · setChatDescription · setChatMemberTag · setChatMenuButton · setChatPermissions · setChatPhoto · setChatStickerSet · setChatTitle · setCustomEmojiStickerSetThumbnail · setGameScore · setMessageReaction · setMyCommands · setMyDefaultAdministratorRights · setMyDescription · setMyName · setMyProfilePhoto · setMyShortDescription · setPassportDataErrors · setStickerKeywords · setStickerMaskPosition · setStickerPositionInSet · setStickerSetThumbnail · setStickerSetTitle · setUserEmojiStatus · setWebhook