Text

@SerialName(value = "text")
data class Text(val type: String = "text", val text: String) : ContentPart(source)

Text content part.

Constructors

Link copied to clipboard
constructor(type: String = "text", text: String)

Properties

Link copied to clipboard

The text content.

Link copied to clipboard

The type of content, always "text".