capabilities: mark lottie and webm as allowed sticker formats

This commit is contained in:
Tulir Asokan
2026-04-28 16:09:13 +03:00
parent e6243d8935
commit d2a06ebbbe
3 changed files with 36 additions and 4 deletions
+3 -3
View File
@@ -145,9 +145,9 @@ var fileCaps = event.FileFeatureMap{
// These are converted to webp
"image/jpeg": event.CapLevelPartialSupport,
"image/png": event.CapLevelPartialSupport,
// TODO
//"video/lottie+json": event.CapLevelFullySupported,
//"video/webm": event.CapLevelFullySupported,
// These will only go through if they're from an imported Telegram pack
"video/lottie+json": event.CapLevelPartialSupport,
"video/webm": event.CapLevelPartialSupport,
},
},
event.CapMsgVoice: {