trixnity
Toggle table of contents
5.2.0-SNAPSHOT.CI-20260302.101522
common
Target filter
common
Switch theme
Search in API
Skip to content
trixnity
trixnity-client
/
de.connect2x.trixnity.client.store
/
RoomOutboxMessage
Room
Outbox
Message
@
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
)
Members
Constructors
Room
Outbox
Message
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
Send
Error
Link copied to clipboard
@
Serializable
sealed
interface
SendError
Properties
content
Link copied to clipboard
val
content
:
T
created
At
Link copied to clipboard
val
createdAt
:
Instant
event
Id
Link copied to clipboard
val
eventId
:
EventId
?
keep
Media
In
Cache
Link copied to clipboard
val
keepMediaInCache
:
Boolean
media
Upload
Progress
Link copied to clipboard
@
Transient
val
mediaUploadProgress
:
MutableStateFlow
<
FileTransferProgress
?
>
room
Id
Link copied to clipboard
val
roomId
:
RoomId
send
Error
Link copied to clipboard
val
sendError
:
RoomOutboxMessage.SendError
?
sent
At
Link copied to clipboard
val
sentAt
:
Instant
?
transaction
Id
Link copied to clipboard
val
transactionId
:
String