Media

data class Media(    val body: String? = null,     val media: List<String>,     val rawData: String = "") : ContentData

Used to send file attachments, or to send long text via MMS in the US and Canada. Represents the twilio/media content type.

Constructors

Link copied to clipboard
fun Media(    body: String? = null,     media: List<String>,     rawData: String = "")

Properties

Link copied to clipboard
val body: String? = null

The text of the message you want to send.

Link copied to clipboard
val media: List<String>

URLs of the media you want to send.

Link copied to clipboard
open override val rawData: String

Full data as stringified JSON. Can be used for new content types and fields which are not supported in the current version of Conversations SDK.