Skip to content

Commit

Permalink
gif sticker support
Browse files Browse the repository at this point in the history
  • Loading branch information
jkcailteux committed Jan 9, 2023
1 parent ac7e5cf commit 5214f12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ Discord uses ids and hashes to render images in the client. These hashes can be

\*\*\* In the case of the Default User Avatar and Sticker endpoints, the size of images returned is constant with the "size" querystring parameter being ignored.

\*\*\*\* In the case of the Sticker endpoint, the sticker will be available as PNG if its [`format_type`](#DOCS_RESOURCES_STICKER/sticker-object) is `PNG` or `APNG`, and as [Lottie](https://airbnb.io/lottie/#/) if its `format_type` is `LOTTIE`.
\*\*\*\* In the case of the Sticker endpoint, the sticker will be available as PNG if its [`format_type`](#DOCS_RESOURCES_STICKER/sticker-object) is `PNG` or `APNG`, and as [Lottie](https://airbnb.io/lottie/#/) if its `format_type` is `LOTTIE`. It could also be available as a `GIF`.

## Image Data

Expand Down
3 changes: 2 additions & 1 deletion docs/resources/Sticker.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Incidentally the client will always use a name generated from an emoji as the va
| PNG | 1 |
| APNG | 2 |
| LOTTIE | 3 |
| GIF | 4 |

###### Example Sticker

Expand Down Expand Up @@ -138,7 +139,7 @@ Every guilds has five free sticker slots by default, and each Boost level will g
| name | string | name of the sticker (2-30 characters) |
| description | string | description of the sticker (empty or 2-100 characters) |
| tags | string | autocomplete/suggestion tags for the sticker (max 200 characters) |
| file | file contents | the sticker file to upload, must be a PNG, APNG, or Lottie JSON file, max 500 KB |
| file | file contents | the sticker file to upload, must be a PNG, APNG, GIF, or Lottie JSON file, max 500 KB |

## Modify Guild Sticker % PATCH /guilds/{guild.id#DOCS_RESOURCES_GUILD/guild-object}/stickers/{sticker.id#DOCS_RESOURCES_STICKER/sticker-object}

Expand Down

0 comments on commit 5214f12

Please sign in to comment.