MessageDto
@Serializable
A chat message.
Constructors
Link copied to clipboard
constructor(id: String = "", conversationId: String = "", seq: Int = 0, senderType: SenderType = SenderType.SYSTEM, content: String = "", createdAt: Instant = Instant.EPOCH, senderId: String? = null, senderName: String? = null, visibility: String = "public", contentType: String = "text", attachments: List<Attachment> = emptyList(), clientId: String? = null, metadata: JsonObject? = null, deliveryStatus: String? = null, deliveryError: String? = null, readAt: Instant? = null)
Properties
Link copied to clipboard
Attached files.
Link copied to clipboard
text or file.
Link copied to clipboard
The conversation this row belongs to.
Link copied to clipboard
Outbound delivery error on other channels.
Link copied to clipboard
Outbound delivery status on other channels.
Link copied to clipboard
Rich card payload and other channel data (see cardOf).
Link copied to clipboard
Display name of the sender when known.
Link copied to clipboard
Who wrote it.
Link copied to clipboard
public for everything a visitor sees.