TextAnnotation

@Serializable
sealed interface TextAnnotation

Annotations for a text.

Inheritors

Properties

Link copied to clipboard
abstract val endIndex: Int

End index.

Link copied to clipboard
abstract val startIndex: Int

Start index.

Link copied to clipboard
abstract val text: String

The text in the message content that needs to be replaced.