MessageSummary

data class MessageSummary(val senderName: String, val text: String, val contactName: String, val receivedTime: Long, val fromLocal: Boolean, val read: Boolean)(source)

Summary of a single mesh message suitable for AI consumption.

Constructors

Link copied to clipboard
constructor(senderName: String, text: String, contactName: String, receivedTime: Long, fromLocal: Boolean, read: Boolean)

Properties

Link copied to clipboard

Channel or contact name this message belongs to.

Link copied to clipboard

Whether this message was sent by the local user.

Link copied to clipboard

Whether this message has been read.

Link copied to clipboard

When the message was received (milliseconds since epoch).

Link copied to clipboard

Display name of the message sender.

Link copied to clipboard

The message text content.