Closed jonjamz closed 7 years ago
Thanks. Can you add some tests for this? This file should be a good destination for those tests: https://github.com/claudiajs/claudia-bot-builder/blob/master/spec/twilio/twilio-parse-spec.js
Yes certainly, I was actually just going through those.
Awesome, thanks
If you have any ideas for further tests just let me know and I'll add them.
Looks good, new build will be published during the weekend. Thanks!
This update adds a
media
key to the parsed object that contains an array of objects withurl
andcontentType
keys for each MMS media attachment.It updates the conditional checks to support messages with no body text as long as media is present.
I tested it on a deployed bot by inspecting the CloudWatch logs.