You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When --sync comes across a message with an animated sticker, looks like it just saves the emoji associated with it. Unfortunately I'm not a coder or anything, so not sure how to debug this more, but I was able to look in the tg-archive database.
I downloaded the animated sticker message via the desktop client, AnimatedSticker.tgs is the file name, zipped up and attached here in case that helps. AnimatedSticker.tgs.zip
The primary goal here is to at least get the AnimatedSticker.tgs downloaded with the rest of the media and show a hyperlink to the file in the message with the emoji. Ideally, it could be displayed inline but I don't think browsers even support TGS animations. Until then, would need some sort of costly conversion to animated webp I guess?
I also noticed the content in the messages table for a regular sticker is empty but I believe the emoji should be saved there, yes? Perhaps that can be addressed as well.
The difference seems to be this one is marked "is_animated": false and "is_video": true whereas the one from OP that gets skipped is marked "is_animated": true and "is_video": false. I'm not sure how/where this is handled in the code but maybe just need to add a check for is_animated and treat it the same as when is_video == true? If you can point me to the relevant place in the code I can do some testing...
When
--sync
comes across a message with an animated sticker, looks like it just saves the emoji associated with it. Unfortunately I'm not a coder or anything, so not sure how to debug this more, but I was able to look in the tg-archive database.Animated Sticker Message
1.
media
table has no entry2.
messages
table entry:3. @RawDataBot info:
For comparison:
Non-Animated Sticker Message
1.
media
table entry:2.
messages
table entry:3. @RawDataBot info:
I downloaded the animated sticker message via the desktop client, AnimatedSticker.tgs is the file name, zipped up and attached here in case that helps. AnimatedSticker.tgs.zip
The primary goal here is to at least get the AnimatedSticker.tgs downloaded with the rest of the media and show a hyperlink to the file in the message with the emoji. Ideally, it could be displayed inline but I don't think browsers even support TGS animations. Until then, would need some sort of costly conversion to animated webp I guess?
I also noticed the
content
in themessages
table for a regular sticker is empty but I believe the emoji should be saved there, yes? Perhaps that can be addressed as well.Hope that's helpful. Here's Telegram's info about stickers: https://core.telegram.org/stickers
The text was updated successfully, but these errors were encountered: