Request

@Serializable
sealed interface Request : Message(source)

Represents a request message in the chat.

Inheritors

Properties

Link copied to clipboard
abstract val content: String

The content of the message.

Link copied to clipboard
abstract val role: Message.Role

The role associated with the message.