TextContent

Represents the text output of a message.

Note that you may need to handle text annotations. Check out TextAnnotation for more information.

Constructors

Link copied to clipboard
constructor(text: TextContent.Text)

Types

Link copied to clipboard
data class Text(val value: String, val annotations: List<TextAnnotation>)

Represents the text content of a message.

Properties

Link copied to clipboard

The text content of the message

Link copied to clipboard
open override val type: ThreadMessageContent.Type

The type of content.