whatsapp-cloud-api icon indicating copy to clipboard operation
whatsapp-cloud-api copied to clipboard

Pull Request for trying to read status response

Open alfonsusac opened this issue 2 years ago • 7 comments

  • Added 'Status' types increateBot.types.ts according to https://developers.facebook.com/docs/whatsapp/cloud-api/webhooks/components
  • Changed on callback parameter to also accept Status
  • Will now publish 'status' and '<status-type>' to PubSub when receiving only status
  • Add new tests to also test for the statuses.

image

  • In addition, also added the log() function to console.log to a log.txt in root directory for debugging purposes (can be removed)

alfonsusac avatar Oct 26 '22 11:10 alfonsusac

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 😊

tawn33y avatar Oct 27 '22 20:10 tawn33y

Hi @tawn33y , is there any update to when this PR will be reviewed?

alfonsusac avatar Feb 06 '23 07:02 alfonsusac

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 😀

tawn33y avatar Feb 08 '23 16:02 tawn33y

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 😀

tawn33y avatar Feb 08 '23 17:02 tawn33y

Hi @alfonsusac, light ping on this

tawn33y avatar Feb 19 '23 15:02 tawn33y

This will close #40

tawn33y avatar Mar 10 '23 04:03 tawn33y

This will close #44

tawn33y avatar Mar 10 '23 04:03 tawn33y