whatsapp-cloud-api
whatsapp-cloud-api copied to clipboard
Pull Request for trying to read status response
- Added 'Status' types in
createBot.types.ts
according to https://developers.facebook.com/docs/whatsapp/cloud-api/webhooks/components - Changed
on
callback parameter to also acceptStatus
- Will now publish 'status' and '<status-type>' to PubSub when receiving only status
- Add new tests to also test for the statuses.
- In addition, also added the
log()
function to console.log to a log.txt in root directory for debugging purposes (can be removed)
Hi @alfonsusac,
Thanks for this PR. I'm away from my PC and unable to review at the moment. I will review as soon as I can. Apologies for the inconvenience.
Thanks again 😊
Hi @tawn33y , is there any update to when this PR will be reviewed?
Hi @alfonsusac, this is really great work! Thanks for your contribution.
I've left some comments. Think of them as suggestions, not really hard-set instructions. Please feel free to discuss any of them 😀
I've made a change that ensures that CI tests run on all PRs: https://github.com/tawn33y/whatsapp-cloud-api/pull/51
Please pull & merge latest from main
😀
Hi @alfonsusac, light ping on this
This will close #40
This will close #44