Class ViewerState
- Namespace
- idunno.Bluesky.Actor
- Assembly
- idunno.Bluesky.dll
Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authenticated requests
public record ViewerState : IEquatable<ViewerState>Inheritance
Implements
Inherited Members
Remarks
See https://github.com/bluesky-social/atproto/blob/main/lexicons/app/bsky/actor/defs.json for definition.
Constructors
ViewerState(ViewerState)
protected ViewerState(ViewerState original)Parameters
originalViewerState
ViewerState(ViewerState)
protected ViewerState(ViewerState original)Parameters
originalViewerState
ViewerState(ViewerState)
protected ViewerState(ViewerState original)Parameters
originalViewerState
Properties
ActivitySubscription
Gets idunno.Bluesky.Actor.ViewerState.ActivitySubscription the current user has to the subject's activity, if any.
public ActivitySubscription? ActivitySubscription { get; init; }Property Value
Remarks
This property is present only in selected cases, as an optimization.
ActivitySubscription
Gets idunno.Bluesky.Actor.ViewerState.ActivitySubscription the current user has to the subject's activity, if any.
public ActivitySubscription? ActivitySubscription { get; init; }Property Value
Remarks
This property is present only in selected cases, as an optimization.
ActivitySubscription
Gets idunno.Bluesky.Actor.ViewerState.ActivitySubscription the current user has to the subject's activity, if any.
public ActivitySubscription? ActivitySubscription { get; init; }Property Value
Remarks
This property is present only in selected cases, as an optimization.
BlockedBy
Gets a flag indicating whether the actor is blocking the current user.
public bool? BlockedBy { get; init; }Property Value
- bool?
BlockedBy
Gets a flag indicating whether the actor is blocking the current user.
public bool? BlockedBy { get; init; }Property Value
- bool?
BlockedBy
Gets a flag indicating whether the actor is blocking the current user.
public bool? BlockedBy { get; init; }Property Value
- bool?
Blocking
Gets an idunno.AtProto.AtUri reference to the current user's block record, if they are blocking the actor.
public AtUri? Blocking { get; init; }Property Value
- AtUri?
Blocking
Gets an idunno.AtProto.AtUri reference to the current user's block record, if they are blocking the actor.
public AtUri? Blocking { get; init; }Property Value
- AtUri?
Blocking
Gets an idunno.AtProto.AtUri reference to the current user's block record, if they are blocking the actor.
public AtUri? Blocking { get; init; }Property Value
- AtUri?
BlockingByList
Gets a idunno.Bluesky.Graph.ListViewBasic of the list the current user subscribes to which is blocking the actor, if any.
public ListViewBasic? BlockingByList { get; init; }Property Value
BlockingByList
Gets a idunno.Bluesky.Graph.ListViewBasic of the list the current user subscribes to which is blocking the actor, if any.
public ListViewBasic? BlockingByList { get; init; }Property Value
BlockingByList
Gets a idunno.Bluesky.Graph.ListViewBasic of the list the current user subscribes to which is blocking the actor, if any.
public ListViewBasic? BlockingByList { get; init; }Property Value
EqualityContract
protected virtual Type EqualityContract { get; }Property Value
EqualityContract
protected virtual Type EqualityContract { get; }Property Value
EqualityContract
protected virtual Type EqualityContract { get; }Property Value
FollowedBy
Gets an idunno.AtProto.AtUri reference to the actor's follow record, if the actor is following the current user.
public AtUri? FollowedBy { get; init; }Property Value
- AtUri?
FollowedBy
Gets an idunno.AtProto.AtUri reference to the actor's follow record, if the actor is following the current user.
public AtUri? FollowedBy { get; init; }Property Value
- AtUri?
FollowedBy
Gets an idunno.AtProto.AtUri reference to the actor's follow record, if the actor is following the current user.
public AtUri? FollowedBy { get; init; }Property Value
- AtUri?
Following
Gets an idunno.AtProto.AtUri reference to the follow record, if the current user is following the actor.
public AtUri? Following { get; init; }Property Value
- AtUri?
Following
Gets an idunno.AtProto.AtUri reference to the follow record, if the current user is following the actor.
public AtUri? Following { get; init; }Property Value
- AtUri?
Following
Gets an idunno.AtProto.AtUri reference to the follow record, if the current user is following the actor.
public AtUri? Following { get; init; }Property Value
- AtUri?
KnownFollowers
Gets a idunno.Bluesky.Actor.ViewerState.KnownFollowers record of mutual followers shared between the actor and the current user, if any.
public KnownFollowers? KnownFollowers { get; init; }Property Value
Remarks
This property is present only in selected cases, as an optimization.
KnownFollowers
Gets a idunno.Bluesky.Actor.ViewerState.KnownFollowers record of mutual followers shared between the actor and the current user, if any.
public KnownFollowers? KnownFollowers { get; init; }Property Value
Remarks
This property is present only in selected cases, as an optimization.
KnownFollowers
Gets a idunno.Bluesky.Actor.ViewerState.KnownFollowers record of mutual followers shared between the actor and the current user, if any.
public KnownFollowers? KnownFollowers { get; init; }Property Value
Remarks
This property is present only in selected cases, as an optimization.
Muted
Gets a flag indicating the account is fully muted, directly or via a mutelist. false when the mute is scoped to specific kinds; see mutedOnlyReposts and mutedOnlyQuoteposts.
public bool? Muted { get; init; }Property Value
- bool?
Muted
Gets a flag indicating the account is fully muted, directly or via a mutelist. false when the mute is scoped to specific kinds; see mutedOnlyReposts and mutedOnlyQuoteposts.
public bool? Muted { get; init; }Property Value
- bool?
Muted
Gets a flag indicating the account is fully muted, directly or via a mutelist. false when the mute is scoped to specific kinds; see mutedOnlyReposts and mutedOnlyQuoteposts.
public bool? Muted { get; init; }Property Value
- bool?
MutedByList
Gets a idunno.Bluesky.Graph.ListViewBasic of the list the current user subscribes to which has muted the actor, if any.
public ListViewBasic? MutedByList { get; init; }Property Value
MutedByList
Gets a idunno.Bluesky.Graph.ListViewBasic of the list the current user subscribes to which has muted the actor, if any.
public ListViewBasic? MutedByList { get; init; }Property Value
MutedByList
Gets a idunno.Bluesky.Graph.ListViewBasic of the list the current user subscribes to which has muted the actor, if any.
public ListViewBasic? MutedByList { get; init; }Property Value
MutedOnlyQuotePosts
Gets a flag indicating whether the account's quoteposts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false.
[JsonPropertyName("mutedOnlyQuoteposts")]
public bool? MutedOnlyQuotePosts { get; init; }Property Value
- bool?
MutedOnlyQuotePosts
Gets a flag indicating whether the account's quoteposts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false.
[JsonPropertyName("mutedOnlyQuoteposts")]
public bool? MutedOnlyQuotePosts { get; init; }Property Value
- bool?
MutedOnlyQuotePosts
Gets a flag indicating whether the account's quoteposts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false.
[JsonPropertyName("mutedOnlyQuoteposts")]
public bool? MutedOnlyQuotePosts { get; init; }Property Value
- bool?
MutedOnlyReposts
Gets a flag indicating whether the account's reposts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false.
public bool? MutedOnlyReposts { get; init; }Property Value
- bool?
MutedOnlyReposts
Gets a flag indicating whether the account's reposts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false.
public bool? MutedOnlyReposts { get; init; }Property Value
- bool?
MutedOnlyReposts
Gets a flag indicating whether the account's reposts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false.
public bool? MutedOnlyReposts { get; init; }Property Value
- bool?
Methods
<Clone>$()
public virtual ViewerState <Clone>$()Returns
<Clone>$()
public virtual ViewerState <Clone>$()Returns
<Clone>$()
public virtual ViewerState <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(ViewerState?)
public virtual bool Equals(ViewerState? other)Parameters
otherViewerState?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(ViewerState?)
public virtual bool Equals(ViewerState? other)Parameters
otherViewerState?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(ViewerState?)
public virtual bool Equals(ViewerState? other)Parameters
otherViewerState?
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 ==(ViewerState?, ViewerState?)
public static bool operator ==(ViewerState? left, ViewerState? right)Parameters
leftViewerState?rightViewerState?
Returns
operator ==(ViewerState?, ViewerState?)
public static bool operator ==(ViewerState? left, ViewerState? right)Parameters
leftViewerState?rightViewerState?
Returns
operator ==(ViewerState?, ViewerState?)
public static bool operator ==(ViewerState? left, ViewerState? right)Parameters
leftViewerState?rightViewerState?
Returns
operator !=(ViewerState?, ViewerState?)
public static bool operator !=(ViewerState? left, ViewerState? right)Parameters
leftViewerState?rightViewerState?
Returns
operator !=(ViewerState?, ViewerState?)
public static bool operator !=(ViewerState? left, ViewerState? right)Parameters
leftViewerState?rightViewerState?
Returns
operator !=(ViewerState?, ViewerState?)
public static bool operator !=(ViewerState? left, ViewerState? right)Parameters
leftViewerState?rightViewerState?