Hello!
We have an app and we allow users to share .gif files from it via third-party messengers, including Telegram.
When we try to share a gif-file on an Android device via telegram - it comes out as a static picture.
All used files have .gif extension
We have two cases:
Case 1:
-Choose a gif in the app
-Click the "Share" button in the app and select “send via Telegram” icon
-Share the file with a Telegram contact
Result: After sending the gif we see a static picture in the chat
Video: CASE 1
Case 2:
-Choose a gif in the app
-Click the "Share" button in the app and choose “send via Telegram” icon
-Share the .gif file with several Telegram contacts at the same time
Result: After sending the gif we see a static picture in the chat marked as “GIF”
Video: CASE 2
You may see a sample of the code that we use to implement the "Share" function in the application- check in screenshots
All other apps and messengers except Telegram process .gif files correctly.
Steps to reproduce
Case 1:
Choose a gif in the app
Click the "Share" button in the app and select “send via Telegram” icon
Share the file with a Telegram contact
After sending the gif we see a static picture in the chat
Case 2:
Choose a gif in the app
Click the "Share" button in the app and choose “send via Telegram” icon
Share the .gif file with several Telegram contacts at the same time
After sending the gif we see a static picture in the chat marked as “GIF”
Device info
Telegram Android 8.9.3 (27572), Google Pixel 3a XL, SDK 32
Here is a related issue: Sharing an animated GIF via the Android app tur... #18987