Class EventDraft
An event a local user wants to send, before the server builds it into the room graph.
Implements
Inherited Members
Namespace: Uniform.Matrix.Server.Rooms
Assembly: Uniform.Matrix.Server.dll
Syntax
public sealed record EventDraft : IEquatable<EventDraft>
Properties
| Edit this page View SourceContent
Event content.
Declaration
public required JsonObject Content { get; init; }
Property Value
| Type | Description |
|---|---|
| JsonObject |
DeviceId
Sending device, with TransactionId to deduplicate retries.
Declaration
public string? DeviceId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Redacts
Event redacted by an m.room.redaction, set at the top level in room versions before 11.
Declaration
public string? Redacts { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
RoomId
Room.
Declaration
public required string RoomId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Sender
Sender.
Declaration
public required string Sender { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
StateKey
State key for state events; null for others.
Declaration
public string? StateKey { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
TransactionId
Client transaction ID.
Declaration
public string? TransactionId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Type
Event type.
Declaration
public required string Type { get; init; }
Property Value
| Type | Description |
|---|---|
| string |