Skip to main content
Module

x/discord_api_types/rest/v9/sticker.ts

Up to date Discord API Typings, versioned by the API version
Go to Latest
File
import type { APISticker, APIStickerPack } from '../../payloads/v9/mod.ts';
export type RESTGetAPIStickerResult = APISticker;
export interface RESTGetNitroStickerPacksResult { sticker_packs: APIStickerPack[];}
export type RESTGetAPIGuildStickersResult = APISticker[];
export type RESTGetAPIGuildStickerResult = APISticker;
export interface RESTPostAPIGuildStickerFormDataBody { /** * Name of the sticker (2-30 characters) */ name: string; /** * Description of the sticker (empty or 2-100 characters) */ description: string; /** * The Discord name of a unicode emoji representing the sticker's expression (2-200 characters) */ tags: string; /** * The sticker file to upload, must be a PNG, APNG, or Lottie JSON file, max 500 KB */ file: unknown;}
export type RESTPostAPIGuildStickerResult = APISticker;
export interface RESTPatchAPIGuildStickerJSONBody { /** * Name of the sticker (2-30 characters) */ name?: string; /** * Description of the sticker (2-100 characters) */ description?: string | null; /** * The Discord name of a unicode emoji representing the sticker's expression (2-200 characters) */ tags?: string;}
export type RESTPatchAPIGuildStickerResult = APISticker;
export type RESTDeleteAPIGuildStickerResult = never;