Feature/telegram enhancements - #11
Merged
Merged
Conversation
- 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>
- 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>
…ping version to v0.3
- 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>
- 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>
…port-13667693621734178183 Add support for sending images and videos via public links
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 Pull Request
📌 Summary
Enhancements to telegram client allows for messages to contain GIFs, images and videos
🧪 What Does This Fix or Improve?
🔍 Changes
List the notable changes:
✅ Checklist
Please ensure the following:
main