CodeBlock

data class CodeBlock(val text: String, val language: String? = null) : TextPiece

A monospace block, optionally tagged with a language for the client's highlighter.

Constructors

Link copied to clipboard
constructor(text: String, language: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard