Stickers

getStickerSet()

Use this method to get a sticker set. On success, a StickerSet object is returned.

parameters

parametertyperequireddescription
namestringrequiredName of the sticker set

returns

StickerSet

usage in yaebal

getStickerSet is directly typed on Api — call it straight off bot.api.

bot.ts
import type { GetStickerSetParams } from "@yaebal/types";

await bot.api.getStickerSet({
  name: "...",
} satisfies GetStickerSetParams);