import { Api } from "https://deno.land/x/grammy@v1.19.1/mod.ts";
Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. Returns True on success.
Parameters
Short name of sticker set, to be used in t.me/addstickers/ URLs (e.g., animals). Can contain only English letters, digits and underscores. Must begin with a letter, can't contain consecutive underscores and must end in _by_<bot_username>
. <bot_username>
is case insensitive. 1-64 characters.
Format of the sticker, must be one of “static”, “animated”, “video”
optional
other: Other<R, "createNewStickerSet", | "user_id"
| "name"
| "title"
| "sticker_format"
| "stickers"
Optional remaining parameters, confer the official reference below
optional
signal: AbortSignalOptional AbortSignal
to cancel the request
Official reference: https://core.telegram.org/bots/api#createnewstickerset