Table of Contents

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

original SystemMessage

SystemMessage()

public SystemMessage()

SystemMessage(SystemMessage)

protected SystemMessage(SystemMessage original)

Parameters

original SystemMessage

SystemMessage()

public SystemMessage()

SystemMessage(SystemMessage)

protected SystemMessage(SystemMessage original)

Parameters

original SystemMessage

SystemMessage()

public SystemMessage()

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

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

IDictionary<string, JsonElement>?

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

IDictionary<string, JsonElement>?

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

IDictionary<string, JsonElement>?

Methods

<Clone>$()

public virtual SystemMessage <Clone>$()

Returns

SystemMessage

<Clone>$()

public virtual SystemMessage <Clone>$()

Returns

SystemMessage

<Clone>$()

public virtual SystemMessage <Clone>$()

Returns

SystemMessage

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(SystemMessage?)

public virtual bool Equals(SystemMessage? other)

Parameters

other SystemMessage?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(SystemMessage?)

public virtual bool Equals(SystemMessage? other)

Parameters

other SystemMessage?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(SystemMessage?)

public virtual bool Equals(SystemMessage? other)

Parameters

other SystemMessage?

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

Operators

operator ==(SystemMessage?, SystemMessage?)

public static bool operator ==(SystemMessage? left, SystemMessage? right)

Parameters

left SystemMessage?
right SystemMessage?

Returns

bool

operator ==(SystemMessage?, SystemMessage?)

public static bool operator ==(SystemMessage? left, SystemMessage? right)

Parameters

left SystemMessage?
right SystemMessage?

Returns

bool

operator ==(SystemMessage?, SystemMessage?)

public static bool operator ==(SystemMessage? left, SystemMessage? right)

Parameters

left SystemMessage?
right SystemMessage?

Returns

bool

operator !=(SystemMessage?, SystemMessage?)

public static bool operator !=(SystemMessage? left, SystemMessage? right)

Parameters

left SystemMessage?
right SystemMessage?

Returns

bool

operator !=(SystemMessage?, SystemMessage?)

public static bool operator !=(SystemMessage? left, SystemMessage? right)

Parameters

left SystemMessage?
right SystemMessage?

Returns

bool

operator !=(SystemMessage?, SystemMessage?)

public static bool operator !=(SystemMessage? left, SystemMessage? right)

Parameters

left SystemMessage?
right SystemMessage?

Returns

bool