Skip to content

Add support for sending images and videos via public links - #10

Merged
shahidfoy merged 6 commits into
feature/telegram-enhancementsfrom
feature/add-image-and-video-support-13667693621734178183
Feb 12, 2026
Merged

Add support for sending images and videos via public links#10
shahidfoy merged 6 commits into
feature/telegram-enhancementsfrom
feature/add-image-and-video-support-13667693621734178183

Conversation

@shahidfoy

Copy link
Copy Markdown
Member

This change allows users to send one or more images and videos using public URLs. The library automatically chooses the appropriate Telegram API method based on the provided media. Documentation and tests have been updated accordingly.


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

- Updated TelegramMessage model with `images` and `videos` fields (List<String>).
- Updated BotService to handle `sendPhoto`, `sendVideo`, and `sendMediaGroup` methods.
- Implemented logic to use `text` as a caption for media items.
- Added a note that `replyMarkup` is not supported for Media Groups.
- Added unit tests for new functionality in BotServiceTest.
- Updated README with examples and usage notes.

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 5 commits February 12, 2026 01:54
- Added images and videos support via public links.
- Updated BotService to handle sendPhoto, sendVideo, and sendMediaGroup.
- Bumped project version to 0.4.0 in pom.xml and readme.md.
- Added comprehensive unit tests for new media types.
- Updated documentation with usage examples.

Co-authored-by: shahidfoy <12647062+shahidfoy@users.noreply.github.com>
- Implemented support for sending single or multiple images and videos via public links.
- Updated BotService to use sendPhoto, sendVideo, and sendMediaGroup.
- Bumped version to 0.4.1 in pom.xml and readme.md.
- Added unit tests for new functionality.
- Updated README with examples and usage notes.

Co-authored-by: shahidfoy <12647062+shahidfoy@users.noreply.github.com>
@shahidfoy
shahidfoy force-pushed the feature/add-image-and-video-support-13667693621734178183 branch from 8c97b03 to 3b6e869 Compare February 12, 2026 03:06
@shahidfoy
shahidfoy merged commit e0ec165 into feature/telegram-enhancements Feb 12, 2026
1 of 2 checks passed
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