Class StoredEvent
Room event received from the server.
Inherited Members
Namespace: Uniform.Matrix.Client.Storage
Assembly: Uniform.Matrix.Client.dll
Syntax
public sealed class StoredEvent
Properties
| Edit this page View SourceEventId
Event ID; primary key.
Declaration
public required string EventId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Json
Full event as JSON in MatrixJson format.
Declaration
public required string Json { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Line
The line the event shows on, in display order: OriginServerTs × LinesPerMillisecond plus a count of earlier events of the same millisecond. Edits, reactions and redactions take their target's line, so they load with it; null while their target is not stored.
Declaration
public long? Line { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
OriginServerTs
Server timestamp in milliseconds; orders the room history.
Declaration
public long OriginServerTs { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Redacted
Whether the content was removed by a redaction.
Declaration
public bool Redacted { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
RelatesTo
The event that this edit, reaction or redaction changes; null for events shown on their own line.
Declaration
public string? RelatesTo { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RoomId
Room of the event.
Declaration
public required string RoomId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Sender
Sender user ID.
Declaration
public required string Sender { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
StateKey
State key of state events.
Declaration
public string? StateKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Type
Event type.
Declaration
public required string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| string |