Skip to content

Commit

Permalink
docs(RESTPostAPIGuildStickerFormDataBody): clarify constraints (#696)
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidx authored Feb 15, 2023
1 parent 4cf6fd2 commit d661ff5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion deno/rest/v10/sticker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
4 changes: 3 additions & 1 deletion deno/rest/v9/sticker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
4 changes: 3 additions & 1 deletion rest/v10/sticker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
4 changes: 3 additions & 1 deletion rest/v9/sticker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d661ff5

Please sign in to comment.