import { Api } from "https://dotland.deno.dev/x/grammy@v1.17.1/mod.ts";
Use this method to upload a file with a sticker for later use in the createNewStickerSet and addStickerToSet methods (the file can be used multiple times). Returns the uploaded File on success.
Parameters
sticker: InputFile
A file with the sticker in .WEBP, .PNG, .TGS, or .WEBM format. See https://core.telegram.org/stickers for technical requirements.
Optional AbortSignal
to cancel the request
Official reference: https://core.telegram.org/bots/api#uploadstickerfile