I'm wondering if I can attach media to a Twilio Chat message. I'm a bit confused with Twilio docs on this:
- The Help Center's Programmable Chat file support for sending messages says it's not supported.
Looks like this is outdated? The Programmable Chat's API Reference, "Channels and Messages" section says:
Today, a message is just a string of text. In the future, this may expand to include other media types, like images and binary data.
Also outdated?
- This StackOverflow answer says it's possible to send multimedia messages, at least for JavaScript. Looks like the same is possible for iOS with the TCHMessageOptions's withMediaStream:contentType:defaultFilename:onStarted:onProgress:onCompleted: method.
- [Aside question] Using the method above, looks like I can create a multimedia message, but can I also set custom attributes?
Could you please clarify?
Thank you!