-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
Added functionality for Mark Messages as Read #85
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #85 +/- ##
============================================
+ Coverage 85.80% 85.91% +0.11%
- Complexity 475 480 +5
============================================
Files 153 154 +1
Lines 1141 1150 +9
Branches 11 11
============================================
+ Hits 979 988 +9
Misses 144 144
Partials 18 18
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some suggested changes. Thank you for the pull request.
src/test/java/com/whatsapp/api/impl/WhatsappBusinessCloudApiTest.java
Outdated
Show resolved
Hide resolved
src/main/java/com/whatsapp/api/impl/WhatsappBusinessCloudApi.java
Outdated
Show resolved
Hide resolved
any ideas how to get the message id? |
Hello @ferasawadi, the messages ID can be obtained through a webhook. You will need to set up a webhook in advance to receive the messages and be able to respond to them or mark them as read. You can find more detailed instructions on how to configure the webhook at the following links: link1 and link2. This library provides support for deserializing the payloads received through the webhook. You can find an example of this here: link3. I hope this can help you. Please, feel free to open an issue if you have any further questions. |
Fixes #29