Class OutboxMessage
Event written locally and not yet confirmed by the server.
Inherited Members
Namespace: Uniform.Matrix.Client.Storage
Assembly: Uniform.Matrix.Client.dll
Syntax
public sealed class OutboxMessage
Properties
| Edit this page View SourceAttempts
Number of send attempts.
Declaration
public int Attempts { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ContentJson
Event content as JSON.
Declaration
public required string ContentJson { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CreatedAt
Enqueue time.
Declaration
public DateTimeOffset CreatedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset |
EventId
Event ID assigned by the server once sent.
Declaration
public string? EventId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EventType
Event type, e.g. m.room.message.
Declaration
public required string EventType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Local ID; primary key, also send order.
Declaration
public long Id { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
LastError
Error of the last failed attempt.
Declaration
public string? LastError { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RoomId
Target room.
Declaration
public required string RoomId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SentAt
Time the server accepted the event.
Declaration
public DateTimeOffset? SentAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
State
Delivery state.
Declaration
public OutboxState State { get; set; }
Property Value
| Type | Description |
|---|---|
| OutboxState |
TransactionId
Transaction ID fixed at enqueue, so resends after a crash are deduplicated by the server.
Declaration
public required string TransactionId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |