Add support for Lottie stickers

This commit is contained in:
Cadence Ember 2023-09-10 21:35:51 +12:00
commit d759b5bd90
8 changed files with 115 additions and 10 deletions

View file

@ -87,7 +87,7 @@ function emoji(emojiID, animated) {
const stickerFormat = new Map([
[1, {label: "PNG", ext: "png", mime: "image/png"}],
[2, {label: "APNG", ext: "png", mime: "image/apng"}],
[3, {label: "LOTTIE", ext: "json", mime: null}],
[3, {label: "LOTTIE", ext: "json", mime: "lottie"}],
[4, {label: "GIF", ext: "gif", mime: "image/gif"}]
])