Text

data class Text(val body: String, val rawData: String = "") : ContentData

Contains only plain text-based content. Represents the twilio/text content type.

Constructors

Link copied to clipboard
constructor(body: String, rawData: String = "")

Properties

Link copied to clipboard

The text of the message 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.