TextContent

@Serializable
data class TextContent(val value: String, val annotations: List<TextAnnotation>)

The text content of the message value and annotations.

Constructors

Link copied to clipboard
constructor(value: String, annotations: List<TextAnnotation>)

Properties

Link copied to clipboard
@SerialName(value = "annotations")
val annotations: List<TextAnnotation>

Annotations for the text.

Link copied to clipboard
@SerialName(value = "value")
val value: String

The data that makes up the text.