Class PresenceContent
Content of m.presence, also the presence status response.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Core
Assembly: Uniform.Matrix.Protocol.Core.dll
Syntax
public sealed record PresenceContent : IEquatable<PresenceContent>
Properties
| Edit this page View SourceCurrentlyActive
Whether the user is currently active.
Declaration
public bool? CurrentlyActive { get; init; }
Property Value
| Type | Description |
|---|---|
| bool? |
DisplayName
Display name, sent in presence events only.
Declaration
[JsonPropertyName("displayname")]
public string? DisplayName { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
LastActiveAgo
Milliseconds since the user was last active.
Declaration
public long? LastActiveAgo { get; init; }
Property Value
| Type | Description |
|---|---|
| long? |
Presence
Presence state, see PresenceStates.
Declaration
public string? Presence { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
StatusMsg
Status message.
Declaration
public string? StatusMsg { get; init; }
Property Value
| Type | Description |
|---|---|
| string |