ReceivedChatMessage

data class ReceivedChatMessage(val id: String, val message: String, val timestamp: Long, val fromParticipant: Participant?, val attributes: Map<String, String> = emptyMap(), val editTimestamp: Long? = null) : ReceivedMessage

A io.livekit.android.compose.chat.Chat message.

Constructors

Link copied to clipboard
constructor(id: String, message: String, timestamp: Long, fromParticipant: Participant?, attributes: Map<String, String> = emptyMap(), editTimestamp: Long? = null)

Properties

Link copied to clipboard
open override val attributes: Map<String, String>

A map of user defined attributes that are associated with the message.

Link copied to clipboard
val editTimestamp: Long? = null
Link copied to clipboard
open override val fromParticipant: Participant?

The participant this message belongs to.

Link copied to clipboard
open override val id: String

The id for the message.

Link copied to clipboard
open override val message: String

The message.

Link copied to clipboard
open override val timestamp: Long

The timestamp associated for this message, measured in milliseconds since Unix epoch.