Class ChatPreference Deprecated
Deprecated, use ChatNotificationPreferences instead.
- Assembly
- idunno.Bluesky.dll
Encapsulates notification preferences for chats
[Obsolete("Deprecated, use ChatNotificationPreferences instead.")]
public sealed record ChatPreference : IEquatable<ChatPreference>Inheritance
Implements
Inherited Members
Constructors
ChatPreference()
Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.ChatPreference.
public ChatPreference()ChatPreference(ChatNotificationsFrom, bool)
Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.ChatPreference.
[JsonConstructor]
public ChatPreference(ChatNotificationsFrom include, bool push)Parameters
includeChatNotificationsFrom-
The type of chats to be notified for.
pushbool-
A flag indicating whether chat notifications should be pushed.
ChatPreference()
Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.ChatPreference.
public ChatPreference()ChatPreference(ChatNotificationsFrom, bool)
Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.ChatPreference.
[JsonConstructor]
public ChatPreference(ChatNotificationsFrom include, bool push)Parameters
includeChatNotificationsFrom-
The type of chats to be notified for.
pushbool-
A flag indicating whether chat notifications should be pushed.
ChatPreference()
Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.ChatPreference.
public ChatPreference()ChatPreference(ChatNotificationsFrom, bool)
Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.ChatPreference.
[JsonConstructor]
public ChatPreference(ChatNotificationsFrom include, bool push)Parameters
includeChatNotificationsFrom-
The type of chats to be notified for.
pushbool-
A flag indicating whether chat notifications should be pushed.
Properties
Include
Gets or sets the type of chats to be notified for.
public ChatNotificationsFrom Include { get; set; }Property Value
Include
Gets or sets the type of chats to be notified for.
public ChatNotificationsFrom Include { get; set; }Property Value
Include
Gets or sets the type of chats to be notified for.
public ChatNotificationsFrom Include { get; set; }Property Value
Push
Gets or sets a flag indicating whether chat notifications should be pushed.
public bool Push { get; set; }Property Value
Push
Gets or sets a flag indicating whether chat notifications should be pushed.
public bool Push { get; set; }Property Value
Push
Gets or sets a flag indicating whether chat notifications should be pushed.
public bool Push { get; set; }Property Value
Methods
<Clone>$()
public ChatPreference <Clone>$()Returns
<Clone>$()
public ChatPreference <Clone>$()Returns
<Clone>$()
public ChatPreference <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(ChatPreference?)
public bool Equals(ChatPreference? other)Parameters
otherChatPreference?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(ChatPreference?)
public bool Equals(ChatPreference? other)Parameters
otherChatPreference?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(ChatPreference?)
public bool Equals(ChatPreference? other)Parameters
otherChatPreference?
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 ==(ChatPreference?, ChatPreference?)
public static bool operator ==(ChatPreference? left, ChatPreference? right)Parameters
leftChatPreference?rightChatPreference?
Returns
operator ==(ChatPreference?, ChatPreference?)
public static bool operator ==(ChatPreference? left, ChatPreference? right)Parameters
leftChatPreference?rightChatPreference?
Returns
operator ==(ChatPreference?, ChatPreference?)
public static bool operator ==(ChatPreference? left, ChatPreference? right)Parameters
leftChatPreference?rightChatPreference?
Returns
operator !=(ChatPreference?, ChatPreference?)
public static bool operator !=(ChatPreference? left, ChatPreference? right)Parameters
leftChatPreference?rightChatPreference?
Returns
operator !=(ChatPreference?, ChatPreference?)
public static bool operator !=(ChatPreference? left, ChatPreference? right)Parameters
leftChatPreference?rightChatPreference?
Returns
operator !=(ChatPreference?, ChatPreference?)
public static bool operator !=(ChatPreference? left, ChatPreference? right)Parameters
leftChatPreference?rightChatPreference?