Class RoomLines
Stored lines of a room, from GetRoomLinesAsync(string, int, long?, CancellationToken).
Implements
Inherited Members
Namespace: Uniform.Matrix.Client.Storage
Assembly: Uniform.Matrix.Client.dll
Syntax
public sealed record RoomLines : IEquatable<RoomLines>
Constructors
| Edit this page View SourceRoomLines(IReadOnlyList<ClientEvent>, long?, int)
Stored lines of a room, from GetRoomLinesAsync(string, int, long?, CancellationToken).
Declaration
public RoomLines(IReadOnlyList<ClientEvent> Events, long? OldestLine, int LineCount)
Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyList<ClientEvent> | Events | The events on the lines, oldest line first; each line's own event before its edits, reactions and redactions. |
| long? | OldestLine | The oldest line returned, to read further back from; null when there were none. |
| int | LineCount | How many lines the events are on. |
Properties
| Edit this page View SourceEvents
The events on the lines, oldest line first; each line's own event before its edits, reactions and redactions.
Declaration
public IReadOnlyList<ClientEvent> Events { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<ClientEvent> |
LineCount
How many lines the events are on.
Declaration
public int LineCount { get; init; }
Property Value
| Type | Description |
|---|---|
| int |
OldestLine
The oldest line returned, to read further back from; null when there were none.
Declaration
public long? OldestLine { get; init; }
Property Value
| Type | Description |
|---|---|
| long? |