Class RoomEventDecryption
A timeline event after decryption.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Crypto
Assembly: Uniform.Matrix.Protocol.Crypto.dll
Syntax
public sealed record RoomEventDecryption : IEquatable<RoomEventDecryption>
Properties
| Edit this page View SourceError
Reason when not decrypted.
Declaration
public string? Error { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Event
Decrypted event with its real type and content when Decrypted, otherwise the original.
Declaration
public required ClientEvent Event { get; init; }
Property Value
| Type | Description |
|---|---|
| ClientEvent |
SenderDevice
Sender's device when its keys match the session, null when unknown.
Declaration
public DeviceInfo? SenderDevice { get; init; }
Property Value
| Type | Description |
|---|---|
| DeviceInfo |
SessionId
Megolm session of the event, for retrying on RoomKeyReceived.
Declaration
public string? SessionId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Status
Outcome.
Declaration
public required DecryptionStatus Status { get; init; }
Property Value
| Type | Description |
|---|---|
| DecryptionStatus |