TextBlock

@SerialName(value = "text")
data class TextBlock(val type: String = "text", val text: String) : MessageCreateParams.ContentBlock(source)

Text content block.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
open override val type: String