RoomOutboxMessage

@Serializable
data class RoomOutboxMessage<T : MessageEventContent>(val roomId: RoomId, val transactionId: String, val content: T, val createdAt: Instant, val sentAt: Instant? = null, val eventId: EventId? = null, val sendError: RoomOutboxMessage.SendError? = null, val keepMediaInCache: Boolean = true)

Constructors

Link copied to clipboard
constructor(roomId: RoomId, transactionId: String, content: T, createdAt: Instant, sentAt: Instant? = null, eventId: EventId? = null, sendError: RoomOutboxMessage.SendError? = null, keepMediaInCache: Boolean = true)

Types

Link copied to clipboard
@Serializable
sealed interface SendError

Properties

Link copied to clipboard
val content: T
Link copied to clipboard
val createdAt: Instant
Link copied to clipboard
val eventId: EventId? = null
Link copied to clipboard
Link copied to clipboard
@Transient
val mediaUploadProgress: MutableStateFlow<FileTransferProgress?>
Link copied to clipboard
val roomId: RoomId
Link copied to clipboard
Link copied to clipboard
val sentAt: Instant? = null
Link copied to clipboard