RichContent

data class RichContent(val content: String = "", val replacements: Map<String, RichContentReplacement> = emptyMap())

Represents rich text content with optional token replacements.

Constructors

Link copied to clipboard
constructor(content: String = "", replacements: Map<String, RichContentReplacement> = emptyMap())

Properties

Link copied to clipboard

The rich text content, potentially containing {{tokenName}} placeholders.

Link copied to clipboard

Map of token name → RichContentReplacement parsed from richContent.replacements. Empty when there are no replacements.