NewMLSMessage

internal data class NewMLSMessage(val id: String, val conversationId: ConversationId, val subconversationId: SubconversationId?, val senderUserId: UserId, val messageInstant: Instant, val content: String) : Event.Conversation

Constructors

Link copied to clipboard
constructor(id: String, conversationId: ConversationId, subconversationId: SubconversationId?, senderUserId: UserId, messageInstant: Instant, content: String)

Properties

Link copied to clipboard
val content: String
Link copied to clipboard
internal open override val conversationId: ConversationId
Link copied to clipboard
open override val id: String

The ID of the event. As of Jan 2024, the ID used by the backend is not guaranteed to be unique, so comparing the full object might be necessary.

Link copied to clipboard
val messageInstant: Instant
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
internal open override fun toLogMap(): Map<String, Any?>
Link copied to clipboard
internal open fun toLogString(): String