Class SyncResponse
Response of GET /_matrix/client/v3/sync.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Core
Assembly: Uniform.Matrix.Protocol.Core.dll
Syntax
public sealed record SyncResponse : IEquatable<SyncResponse>
Properties
| Edit this page View SourceAccountData
Global account data.
Declaration
public EventList<MatrixEvent> AccountData { get; init; }
Property Value
| Type | Description |
|---|---|
| EventList<MatrixEvent> |
DeviceLists
Users whose device lists changed; used by end-to-end encryption.
Declaration
public DeviceLists DeviceLists { get; init; }
Property Value
| Type | Description |
|---|---|
| DeviceLists |
DeviceOneTimeKeysCount
Unclaimed one-time keys of this device on the server by algorithm, to keep them topped up.
Declaration
public IReadOnlyDictionary<string, int>? DeviceOneTimeKeysCount { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyDictionary<string, int> |
DeviceUnusedFallbackKeyTypes
Algorithms of this device's fallback keys not yet used; null when the server does not report them.
Declaration
public IReadOnlyList<string>? DeviceUnusedFallbackKeyTypes { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
NextBatch
Token to pass as since in the next sync.
Declaration
public required string NextBatch { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Presence
Presence updates of other users.
Declaration
public EventList<PresenceEvent> Presence { get; init; }
Property Value
| Type | Description |
|---|---|
| EventList<PresenceEvent> |
Rooms
Updates to rooms.
Declaration
public SyncRooms Rooms { get; init; }
Property Value
| Type | Description |
|---|---|
| SyncRooms |
ToDevice
Messages sent directly to this device, e.g. encryption keys.
Declaration
public EventList<ToDeviceEvent> ToDevice { get; init; }
Property Value
| Type | Description |
|---|---|
| EventList<ToDeviceEvent> |