MessageContent

@Serializable
interface MessageContent

The content of the message as text or image.

Inheritors

Types

Link copied to clipboard
@Serializable
data class Image(val imageFile: ImageFile) : MessageContent

References an image File in the content of a message.

Link copied to clipboard
@Serializable
data class Text(val text: TextContent) : MessageContent

The content of the message as text.