ChatMessageState

sealed interface ChatMessageState

What a chat message bubble shows.

Inheritors

Types

Link copied to clipboard
data class Content(val text: String) : ChatMessageState

The message text, drawn by the log's messageContent slot.

Link copied to clipboard
data object Error : ChatMessageState

The message failed; shows the log's ChatErrorAction.

Link copied to clipboard
data object Typing : ChatMessageState

A reply is pending; shows a TypingIndicator.