TextSegment

sealed class TextSegment

Represents a segment of text that can be either plain text or a clickable link.

Inheritors

Types

Link copied to clipboard
data class Link(val text: String, val url: String) : TextSegment
Link copied to clipboard
data class Text(val content: String) : TextSegment