feat: add Telegram sticker import functionality

- Implemented TelegramImport component for importing sticker packs from Telegram using a bot token.
- Added utility functions for animated sticker conversion (TGS and WEBM to GIF).
- Created telegramStickerImport module to handle fetching and processing of Telegram sticker sets.
- Introduced GIF.js type definitions for TypeScript support.
This commit is contained in:
2026-02-19 21:57:25 +11:00
parent eb3768ae30
commit 21d4bc6ad9
9 changed files with 968 additions and 0 deletions

View File

@@ -30,10 +30,12 @@
"@tauri-apps/api": "2.9.1",
"@tauri-apps/plugin-dialog": "2.6.0",
"@tauri-apps/plugin-fs": "2.4.5",
"@tauri-apps/plugin-http": "2.5.7",
"@tauri-apps/plugin-notification": "2.3.3",
"@tauri-apps/plugin-opener": "2",
"@tauri-apps/plugin-process": "2.3.1",
"@tauri-apps/plugin-updater": "2.10.0",
"@types/pako": "2.0.4",
"@vanilla-extract/css": "1.9.3",
"@vanilla-extract/recipes": "0.3.0",
"@vanilla-extract/vite-plugin": "3.7.1",
@@ -51,6 +53,7 @@
"file-saver": "2.0.5",
"focus-trap-react": "10.0.2",
"folds": "2.4.0",
"gif.js": "0.2.0",
"html-dom-parser": "4.0.0",
"html-react-parser": "4.2.0",
"i18next": "23.12.2",
@@ -62,8 +65,10 @@
"linkify-react": "4.1.3",
"linkifyjs": "4.1.3",
"livekit-client": "2.17.0",
"lottie-web": "5.13.0",
"matrix-js-sdk": "38.2.0",
"millify": "6.1.0",
"pako": "2.1.0",
"pdfjs-dist": "4.2.67",
"prismjs": "1.30.0",
"react": "18.2.0",