How to replay conversation through nodeJs using messagebird WhatsApp Business API?
How to test?
get started from this url: https://developers.messagebird.com/docs/whatsapp/getting-started/
var messagebird = require('messagebird')();
my code
messagebird.conversations.reply(data.id, { 'type': 'image', 'content': { 'image': { 'url': 'https://api.faridblaster.my/test', 'caption': 'Bocaahhh3332' } } }, function (err, response) { if (err) { return console.log(err); } });
the result show me
Expected Output should be
status: 'delivered',
Thanks in advance!
Based on the provided examples, this is the expected status right after you are sending the message.
If you'd like to monitor the status changes for the message, you will have to register a webhook for the message.updated events and you'll get your updates in the reportURL (details here)