setStickerSetTitle()
Use this method to set the title of a created sticker set. Returns True on success.
parameters
| parameter | type | required | description |
|---|---|---|---|
name | string | required | Sticker set name |
title | string | required | Sticker set title, 1-64 characters |
returns
boolean
usage in yaebal
setStickerSetTitle is directly typed on Api — call it straight off bot.api.
import type { SetStickerSetTitleParams } from "@yaebal/types";
await bot.api.setStickerSetTitle({
name: "...",
title: "...",
} satisfies SetStickerSetTitleParams);official Bot API docs: https://core.telegram.org/bots/api/#setstickersettitle