Class CurrentStateRow
The current state of a room, one row per type and state key, for fast reads.
Inherited Members
Namespace: Uniform.Matrix.Server.Storage
Assembly: Uniform.Matrix.Server.dll
Syntax
public sealed class CurrentStateRow
Properties
| Edit this page View SourceEventId
Event holding this state.
Declaration
public required string EventId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Membership
For membership events, the membership, so a user's rooms are one query.
Declaration
public string? Membership { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RoomId
Room.
Declaration
public required string RoomId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
StateKey
State key.
Declaration
public required string StateKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Stream
Stream position of the event.
Declaration
public long Stream { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Type
State event type.
Declaration
public required string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| string |