Reputation: 81
I want to receive voice messages from whatsapp with Twilio. The native voice message you can record with the mic next to the text input. When I send that message, I get the message in the webhook but it is empty and with no media. I took a look at Twilio log of that message and it says that:
So it seems that Twilio for WhatsApp does not support Whatsapp native audio encoding.
Can anyone help me with this?
Thank you!
Upvotes: 4
Views: 2240
Reputation: 517
It seems that native WhatsApp audio now works on Twilio. The parameter 'MediaUrl0' has the link to the audio, it is working for me
Upvotes: 1
Reputation: 81
I received this answer from Twilio
Hi Gustavo ,
Thanks for reaching out. Audio files are currently supported through WhatsApp, but we discovered an issue with the way WhatsApp is passing the audio file to us that is preventing these voice recordings from coming through. WhatsApp has let us know this is something they will be addressing so look for that to be addressed in the coming months.
Thanks,
Hope this helps everybody
Upvotes: 4