method ApiMethods.uploadStickerFile
ApiMethods.uploadStickerFile(args: { user_id: number; sticker_format:
"static"
| "animated"
| "video"
; sticker: F; }
): File

Use this method to upload a file with a sticker for later use in the createNewStickerSet, addStickerToSet, or replaceStickerInSet methods (the file can be used multiple times). Returns the uploaded File on success.

Parameters

args: { user_id: number; sticker_format:
"static"
| "animated"
| "video"
; sticker: F; }

Return Type

Usage

import { type ApiMethods } from "types";