Class JoinOutcome
Result of joining a channel: decrypted history plus, for end-to-end encrypted channels, the key envelope needed to unlock the room content key.
public sealed record JoinOutcome : IEquatable<JoinOutcome>
- Inheritance
-
JoinOutcome
- Implements
- Inherited Members
Constructors
JoinOutcome(List<MessageDto>, string?, string?)
Result of joining a channel: decrypted history plus, for end-to-end encrypted channels, the key envelope needed to unlock the room content key.
public JoinOutcome(List<MessageDto> History, string? EncryptionSalt, string? WrappedRoomKey)
Parameters
HistoryList<MessageDto>EncryptionSaltstringWrappedRoomKeystring
Properties
EncryptionSalt
public string? EncryptionSalt { get; init; }
Property Value
History
public List<MessageDto> History { get; init; }
Property Value
- List<MessageDto>
WrappedRoomKey
public string? WrappedRoomKey { get; init; }
Property Value
Methods
Deconstruct(out List<MessageDto>, out string?, out string?)
public void Deconstruct(out List<MessageDto> History, out string? EncryptionSalt, out string? WrappedRoomKey)
Parameters
HistoryList<MessageDto>EncryptionSaltstringWrappedRoomKeystring
Equals(JoinOutcome?)
public bool Equals(JoinOutcome? other)
Parameters
otherJoinOutcome
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(JoinOutcome?, JoinOutcome?)
public static bool operator ==(JoinOutcome? left, JoinOutcome? right)
Parameters
leftJoinOutcomerightJoinOutcome
Returns
operator !=(JoinOutcome?, JoinOutcome?)
public static bool operator !=(JoinOutcome? left, JoinOutcome? right)
Parameters
leftJoinOutcomerightJoinOutcome