Skip to content

Add GIF support to Telegram messages - #9

Closed
shahidfoy wants to merge 3 commits into
mainfrom
add-gif-support-13447915906690943465
Closed

Add GIF support to Telegram messages#9
shahidfoy wants to merge 3 commits into
mainfrom
add-gif-support-13447915906690943465

Conversation

@shahidfoy

Copy link
Copy Markdown
Member

This change improves the functionality of the Telegram client by allowing users to add GIFs to their messages. This is achieved by adding an animation field to the TelegramMessage class and updating the BotService to use the sendAnimation endpoint when this field is populated. Unit tests have been added to ensure correctness and prevent regressions.


PR created automatically by Jules for task 13447915906690943465 started by @shahidfoy

- Extended TelegramMessage model to include an animation field.
- Updated BotService to use the sendAnimation Telegram API endpoint when an animation is present.
- Added JUnit 5 and Mockito for unit testing.
- Added comprehensive unit tests for BotService.
- Updated README.md with an example of how to send a GIF.

Co-authored-by: shahidfoy <12647062+shahidfoy@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

google-labs-jules Bot and others added 2 commits February 11, 2026 02:15
- Extended TelegramMessage model to include an animation field.
- Updated BotService to use the sendAnimation Telegram API endpoint when an animation is present.
- Added JUnit 5 and Mockito for unit testing.
- Added comprehensive unit tests for BotService.
- Updated README.md with an example of how to send a GIF.
- Bumped project version to 0.2.2 as required by CI.

Co-authored-by: shahidfoy <12647062+shahidfoy@users.noreply.github.com>
@shahidfoy shahidfoy closed this Feb 12, 2026
@shahidfoy
shahidfoy deleted the add-gif-support-13447915906690943465 branch February 13, 2026 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant