Class ChatStatus
- Namespace
- idunno.Bluesky.Chat.Actor
- Assembly
- idunno.Bluesky.dll
Encapsulates the chat status of an actor.
public sealed record ChatStatus : IEquatable<ChatStatus>Inheritance
Implements
Inherited Members
Constructors
ChatStatus(bool, bool, int)
Encapsulates the chat status of an actor.
public ChatStatus(bool ChatDisabled, bool CanCreateGroups, int GroupMemberLimit)Parameters
ChatDisabledbool-
true when the viewer's account is disabled and cannot actively participate in chat.
CanCreateGroupsbool-
Flag indicating whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.
GroupMemberLimitint-
The maximum number of members allowed in a group conversation.
ChatStatus(bool, bool, int)
Encapsulates the chat status of an actor.
public ChatStatus(bool ChatDisabled, bool CanCreateGroups, int GroupMemberLimit)Parameters
ChatDisabledbool-
true when the viewer's account is disabled and cannot actively participate in chat.
CanCreateGroupsbool-
Flag indicating whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.
GroupMemberLimitint-
The maximum number of members allowed in a group conversation.
ChatStatus(bool, bool, int)
Encapsulates the chat status of an actor.
public ChatStatus(bool ChatDisabled, bool CanCreateGroups, int GroupMemberLimit)Parameters
ChatDisabledbool-
true when the viewer's account is disabled and cannot actively participate in chat.
CanCreateGroupsbool-
Flag indicating whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.
GroupMemberLimitint-
The maximum number of members allowed in a group conversation.
Properties
CanCreateGroups
Flag indicating whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.
[JsonRequired]
public bool CanCreateGroups { get; init; }Property Value
CanCreateGroups
Flag indicating whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.
[JsonRequired]
public bool CanCreateGroups { get; init; }Property Value
CanCreateGroups
Flag indicating whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.
[JsonRequired]
public bool CanCreateGroups { get; init; }Property Value
ChatDisabled
true when the viewer's account is disabled and cannot actively participate in chat.
[JsonRequired]
public bool ChatDisabled { get; init; }Property Value
ChatDisabled
true when the viewer's account is disabled and cannot actively participate in chat.
[JsonRequired]
public bool ChatDisabled { get; init; }Property Value
ChatDisabled
true when the viewer's account is disabled and cannot actively participate in chat.
[JsonRequired]
public bool ChatDisabled { get; init; }Property Value
GroupMemberLimit
The maximum number of members allowed in a group conversation.
[JsonRequired]
public int GroupMemberLimit { get; init; }Property Value
GroupMemberLimit
The maximum number of members allowed in a group conversation.
[JsonRequired]
public int GroupMemberLimit { get; init; }Property Value
GroupMemberLimit
The maximum number of members allowed in a group conversation.
[JsonRequired]
public int GroupMemberLimit { get; init; }Property Value
Methods
<Clone>$()
public ChatStatus <Clone>$()Returns
<Clone>$()
public ChatStatus <Clone>$()Returns
<Clone>$()
public ChatStatus <Clone>$()Returns
Deconstruct(out bool, out bool, out int)
public void Deconstruct(out bool ChatDisabled, out bool CanCreateGroups, out int GroupMemberLimit)Parameters
Deconstruct(out bool, out bool, out int)
public void Deconstruct(out bool ChatDisabled, out bool CanCreateGroups, out int GroupMemberLimit)Parameters
Deconstruct(out bool, out bool, out int)
public void Deconstruct(out bool ChatDisabled, out bool CanCreateGroups, out int GroupMemberLimit)Parameters
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(ChatStatus?)
public bool Equals(ChatStatus? other)Parameters
otherChatStatus?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(ChatStatus?)
public bool Equals(ChatStatus? other)Parameters
otherChatStatus?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(ChatStatus?)
public bool Equals(ChatStatus? other)Parameters
otherChatStatus?
Returns
GetHashCode()
public override int GetHashCode()Returns
GetHashCode()
public override int GetHashCode()Returns
GetHashCode()
public override int GetHashCode()Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
Operators
operator ==(ChatStatus?, ChatStatus?)
public static bool operator ==(ChatStatus? left, ChatStatus? right)Parameters
leftChatStatus?rightChatStatus?
Returns
operator ==(ChatStatus?, ChatStatus?)
public static bool operator ==(ChatStatus? left, ChatStatus? right)Parameters
leftChatStatus?rightChatStatus?
Returns
operator ==(ChatStatus?, ChatStatus?)
public static bool operator ==(ChatStatus? left, ChatStatus? right)Parameters
leftChatStatus?rightChatStatus?
Returns
operator !=(ChatStatus?, ChatStatus?)
public static bool operator !=(ChatStatus? left, ChatStatus? right)Parameters
leftChatStatus?rightChatStatus?
Returns
operator !=(ChatStatus?, ChatStatus?)
public static bool operator !=(ChatStatus? left, ChatStatus? right)Parameters
leftChatStatus?rightChatStatus?
Returns
operator !=(ChatStatus?, ChatStatus?)
public static bool operator !=(ChatStatus? left, ChatStatus? right)Parameters
leftChatStatus?rightChatStatus?