Class EventRow
An event of the room graph, stored as its PDU JSON without the event ID.
Inherited Members
Namespace: Uniform.Matrix.Server.Storage
Assembly: Uniform.Matrix.Server.dll
Syntax
public sealed class EventRow
Properties
| Edit this page View SourceDepth
Depth in the room graph.
Declaration
public long Depth { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
EventId
Event ID; primary key.
Declaration
public required string EventId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Json
The PDU; its redacted form once redacted.
Declaration
public required string Json { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OriginServerTs
Origin server time in milliseconds since the Unix epoch.
Declaration
public long OriginServerTs { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
RedactedBy
Redaction that removed this event's content, when any.
Declaration
public string? RedactedBy { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RoomId
Room.
Declaration
public required string RoomId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Sender
Sender.
Declaration
public required string Sender { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SoftFailed
Whether this event of another server was soft-failed: allowed by the state before it but not by the room's current state, so it is kept for the room graph but not shown, and not built on. Queries leave these out unless they ignore query filters.
Declaration
public bool SoftFailed { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
StateGroup
State group of the room's state after this event.
Declaration
public long StateGroup { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
StateGroupBefore
State group of the room's state before this event, as /state_ids answers other servers; 0 when not known, as for history fetched from other servers.
Declaration
public long StateGroupBefore { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
StateKey
State key of state events; null for others.
Declaration
public string? StateKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Stream
Position in the server's stream of events, which sync tokens count; unique and increasing.
Declaration
public long Stream { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Type
Event type.
Declaration
public required string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| string |