Skip to content

[Ming] Support the whatsapp send Media Carousel Template message #223

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 10 commits into from
Closed

[Ming] Support the whatsapp send Media Carousel Template message #223

wants to merge 10 commits into from

Conversation

gongmingqm10
Copy link

Context

The repository doesn't support the Media Carousel template message. Refer the official [API document] (https://developers.facebook.com/docs/whatsapp/cloud-api/guides/send-message-templates/media-card-carousel-templates)

Changelog

Introduce the new class CarouselCard which can be put inside the TemplateMessage. Also added the code sample inside the example folder and indicate how to use this feature.

Preview of the Template Message

WechatIMG52

@github-actions github-actions bot added java Pull requests that update Java code tests labels Oct 25, 2024
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello and welcome! We are excited to see your first pull request and appreciate your contribution to our project. Our team is reviewing your changes and we will provide feedback as soon as possible. Thank you for taking the time to improve our project and we look forward to working with you!

@github-actions github-actions bot added documentation Improvements or additions to documentation markdown markdown files labels Oct 25, 2024
Copy link

codecov bot commented Oct 30, 2024

Codecov Report

Attention: Patch coverage is 9.09091% with 20 lines in your changes missing coverage. Please review.

Project coverage is 84.70%. Comparing base (258d345) to head (1a594b1).

Files with missing lines Patch % Lines
...com/whatsapp/api/domain/messages/CarouselCard.java 0.00% 11 Missing ⚠️
...hatsapp/api/domain/messages/CarouselComponent.java 0.00% 9 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #223      +/-   ##
============================================
- Coverage     86.02%   84.70%   -1.33%     
  Complexity      529      529              
============================================
  Files           165      167       +2     
  Lines          1267     1288      +21     
  Branches         12       12              
============================================
+ Hits           1090     1091       +1     
- Misses          158      178      +20     
  Partials         19       19              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation java Pull requests that update Java code markdown markdown files tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant