Class SystemMessage
- Namespace
- idunno.Bluesky.Chat
- Assembly
- idunno.Bluesky.dll
Base record for system messages.
[JsonPolymorphic(IgnoreUnrecognizedTypeDiscriminators = true, UnknownDerivedTypeHandling = JsonUnknownDerivedTypeHandling.FallBackToNearestAncestor)]
[JsonDerivedType(typeof(AddMemberSystemMessage), "chat.bsky.convo.defs#systemMessageDataAddMember")]
[JsonDerivedType(typeof(CreateJoinLinkSystemMessage), "chat.bsky.convo.defs#systemMessageDataCreateJoinLink")]
[JsonDerivedType(typeof(DisableJoinLinkSystemMessage), "chat.bsky.convo.defs#systemMessageDataDisableJoinLink")]
[JsonDerivedType(typeof(EditGroupSystemMessage), "chat.bsky.convo.defs#systemMessageDataEditGroup")]
[JsonDerivedType(typeof(EditJoinLinkSystemMessage), "chat.bsky.convo.defs#systemMessageDataEditJoinLink")]
[JsonDerivedType(typeof(EnableJoinLinkSystemMessage), "chat.bsky.convo.defs#systemMessageDataEnableJoinLink")]
[JsonDerivedType(typeof(LockConversationSystemMessage), "chat.bsky.convo.defs#systemMessageDataLockConvo")]
[JsonDerivedType(typeof(LockConversationPermanentlySystemMessage), "chat.bsky.convo.defs#systemMessageDataLockConvoPermanently")]
[JsonDerivedType(typeof(MemberJoinSystemMessage), "chat.bsky.convo.defs#systemMessageDataMemberJoin")]
[JsonDerivedType(typeof(MemberLeaveSystemMessage), "chat.bsky.convo.defs#systemMessageDataMemberLeave")]
[JsonDerivedType(typeof(RemoveMemberSystemMessage), "chat.bsky.convo.defs#systemMessageDataRemoveMember")]
[JsonDerivedType(typeof(UnlockConversationSystemMessage), "chat.bsky.convo.defs#systemMessageDataUnlockConvo")]
public record SystemMessage : IEquatable<SystemMessage>Inheritance
Derived
Implements
Inherited Members
Constructors
SystemMessage(SystemMessage)
protected SystemMessage(SystemMessage original)Parameters
originalSystemMessage
SystemMessage()
public SystemMessage()SystemMessage(SystemMessage)
protected SystemMessage(SystemMessage original)Parameters
originalSystemMessage
SystemMessage()
public SystemMessage()SystemMessage(SystemMessage)
protected SystemMessage(SystemMessage original)Parameters
originalSystemMessage
SystemMessage()
public SystemMessage()Properties
EqualityContract
protected virtual Type EqualityContract { get; }Property Value
EqualityContract
protected virtual Type EqualityContract { get; }Property Value
EqualityContract
protected virtual Type EqualityContract { get; }Property Value
ExtensionData
A list of keys and element data that do not map to any strongly typed properties.
[ExcludeFromCodeCoverage]
[JsonExtensionData]
public IDictionary<string, JsonElement>? ExtensionData { get; set; }Property Value
ExtensionData
A list of keys and element data that do not map to any strongly typed properties.
[ExcludeFromCodeCoverage]
[JsonExtensionData]
public IDictionary<string, JsonElement>? ExtensionData { get; set; }Property Value
ExtensionData
A list of keys and element data that do not map to any strongly typed properties.
[ExcludeFromCodeCoverage]
[JsonExtensionData]
public IDictionary<string, JsonElement>? ExtensionData { get; set; }Property Value
Methods
<Clone>$()
public virtual SystemMessage <Clone>$()Returns
<Clone>$()
public virtual SystemMessage <Clone>$()Returns
<Clone>$()
public virtual SystemMessage <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(SystemMessage?)
public virtual bool Equals(SystemMessage? other)Parameters
otherSystemMessage?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(SystemMessage?)
public virtual bool Equals(SystemMessage? other)Parameters
otherSystemMessage?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(SystemMessage?)
public virtual bool Equals(SystemMessage? other)Parameters
otherSystemMessage?
Returns
GetHashCode()
public override int GetHashCode()Returns
GetHashCode()
public override int GetHashCode()Returns
GetHashCode()
public override int GetHashCode()Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)Parameters
builderStringBuilder
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)Parameters
builderStringBuilder
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
Operators
operator ==(SystemMessage?, SystemMessage?)
public static bool operator ==(SystemMessage? left, SystemMessage? right)Parameters
leftSystemMessage?rightSystemMessage?
Returns
operator ==(SystemMessage?, SystemMessage?)
public static bool operator ==(SystemMessage? left, SystemMessage? right)Parameters
leftSystemMessage?rightSystemMessage?
Returns
operator ==(SystemMessage?, SystemMessage?)
public static bool operator ==(SystemMessage? left, SystemMessage? right)Parameters
leftSystemMessage?rightSystemMessage?
Returns
operator !=(SystemMessage?, SystemMessage?)
public static bool operator !=(SystemMessage? left, SystemMessage? right)Parameters
leftSystemMessage?rightSystemMessage?
Returns
operator !=(SystemMessage?, SystemMessage?)
public static bool operator !=(SystemMessage? left, SystemMessage? right)Parameters
leftSystemMessage?rightSystemMessage?
Returns
operator !=(SystemMessage?, SystemMessage?)
public static bool operator !=(SystemMessage? left, SystemMessage? right)Parameters
leftSystemMessage?rightSystemMessage?