Class DelayedEventRow
A delayed event (MSC4140) waiting to be sent, kept so that a restart of the server does not forget it.
Inherited Members
Namespace: Uniform.Matrix.Server.Storage
Assembly: Uniform.Matrix.Server.dll
Syntax
public sealed class DelayedEventRow
Properties
| Edit this page View SourceContentJson
The content, as JSON.
Declaration
public required string ContentJson { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DelayId
The delay ID; primary key, and the secret that restarting, cancelling and sending need.
Declaration
public required string DelayId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DelayMs
The delay in milliseconds.
Declaration
public long DelayMs { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
DeviceId
The device it was scheduled from.
Declaration
public required string DeviceId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RoomId
The room.
Declaration
public required string RoomId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RunningSinceTs
When the delay last started, in milliseconds since the Unix epoch.
Declaration
public long RunningSinceTs { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
StateKey
The state key of a state event; null for a message.
Declaration
public string? StateKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Type
The event type.
Declaration
public required string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UserId
The user who scheduled it.
Declaration
public required string UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |