Add support for sending images and videos via public links - #10
Conversation
- 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>
|
👋 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
- 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>
8c97b03 to
3b6e869
Compare
e0ec165
into
feature/telegram-enhancements
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