Class TimelineEntry
One formatted timeline item, wrapped to lines by TimelinePane.
Implements
Inherited Members
Namespace: Uniform.Chat.Terminal.Ui
Assembly: Uniform.Chat.dll
Syntax
public sealed record TimelineEntry : IEquatable<TimelineEntry>
Properties
| Edit this page View SourceEvent
Source event, for message actions; null for pending messages.
Declaration
public ClientEvent? Event { get; init; }
Property Value
| Type | Description |
|---|---|
| ClientEvent |
EventId
Event ID, null for pending messages.
Declaration
public string? EventId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
ImageUri
Content URI of an image to preview under the text.
Declaration
public string? ImageUri { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Indent
Columns to indent continuation lines, so they align after the nick.
Declaration
public int Indent { get; init; }
Property Value
| Type | Description |
|---|---|
| int |
Kind
Kind for coloring.
Declaration
public required EntryKind Kind { get; init; }
Property Value
| Type | Description |
|---|---|
| EntryKind |
Text
Text without line breaks for wrapping.
Declaration
public required string Text { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Timestamp
Server timestamp in milliseconds; orders entries and drives day separators.
Declaration
public long Timestamp { get; init; }
Property Value
| Type | Description |
|---|---|
| long |