From d661ff5ee70ba4a33c49d8a0f92a9256ef83c7f7 Mon Sep 17 00:00:00 2001 From: Almeida Date: Wed, 15 Feb 2023 19:42:40 +0000 Subject: [PATCH] docs(RESTPostAPIGuildStickerFormDataBody): clarify constraints (#696) --- deno/rest/v10/sticker.ts | 4 +++- deno/rest/v9/sticker.ts | 4 +++- rest/v10/sticker.ts | 4 +++- rest/v9/sticker.ts | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/deno/rest/v10/sticker.ts b/deno/rest/v10/sticker.ts index 3113f19a..ec1669ac 100644 --- a/deno/rest/v10/sticker.ts +++ b/deno/rest/v10/sticker.ts @@ -40,7 +40,9 @@ export interface RESTPostAPIGuildStickerFormDataBody { */ tags: string; /** - * The sticker file to upload, must be a PNG, APNG, GIF, or Lottie JSON file, max 500 KB + * The sticker file to upload, must be a PNG, APNG, GIF, or Lottie JSON file, max 512 KB + * + * Uploaded stickers are constrained to 5 seconds in length for animated stickers, and 320 x 320 pixels. */ file: unknown; } diff --git a/deno/rest/v9/sticker.ts b/deno/rest/v9/sticker.ts index d51f1774..adcbe83e 100644 --- a/deno/rest/v9/sticker.ts +++ b/deno/rest/v9/sticker.ts @@ -40,7 +40,9 @@ export interface RESTPostAPIGuildStickerFormDataBody { */ tags: string; /** - * The sticker file to upload, must be a PNG, APNG, GIF, or Lottie JSON file, max 500 KB + * The sticker file to upload, must be a PNG, APNG, GIF, or Lottie JSON file, max 512 KB + * + * Uploaded stickers are constrained to 5 seconds in length for animated stickers, and 320 x 320 pixels. */ file: unknown; } diff --git a/rest/v10/sticker.ts b/rest/v10/sticker.ts index 9540212f..19857e77 100644 --- a/rest/v10/sticker.ts +++ b/rest/v10/sticker.ts @@ -40,7 +40,9 @@ export interface RESTPostAPIGuildStickerFormDataBody { */ tags: string; /** - * The sticker file to upload, must be a PNG, APNG, GIF, or Lottie JSON file, max 500 KB + * The sticker file to upload, must be a PNG, APNG, GIF, or Lottie JSON file, max 512 KB + * + * Uploaded stickers are constrained to 5 seconds in length for animated stickers, and 320 x 320 pixels. */ file: unknown; } diff --git a/rest/v9/sticker.ts b/rest/v9/sticker.ts index 82eca546..527aa381 100644 --- a/rest/v9/sticker.ts +++ b/rest/v9/sticker.ts @@ -40,7 +40,9 @@ export interface RESTPostAPIGuildStickerFormDataBody { */ tags: string; /** - * The sticker file to upload, must be a PNG, APNG, GIF, or Lottie JSON file, max 500 KB + * The sticker file to upload, must be a PNG, APNG, GIF, or Lottie JSON file, max 512 KB + * + * Uploaded stickers are constrained to 5 seconds in length for animated stickers, and 320 x 320 pixels. */ file: unknown; }