ViewerState

data class ViewerState(val muted: Boolean? = null, val mutedOnlyReposts: Boolean? = null, val mutedOnlyQuoteposts: Boolean? = null, val mutedByList: ListViewBasic? = null, val blockedBy: Boolean? = null, val blocking: AtUri? = null, val blockingByList: ListViewBasic? = null, val following: AtUri? = null, val followedBy: AtUri? = null, val knownFollowers: KnownFollowers? = null, val activitySubscription: ActivitySubscription? = null)

Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests.

Parameters

muted

Whether the account is fully muted, directly or via a mutelist. False when the mute is scoped to specific kinds; see mutedOnlyReposts and mutedOnlyQuoteposts.

mutedOnlyReposts

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.

mutedOnlyQuoteposts

Whether the account's quote posts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false.

knownFollowers

This property is present only in selected cases, as an optimization.

activitySubscription

This property is present only in selected cases, as an optimization.

Constructors

Link copied to clipboard
constructor(muted: Boolean? = null, mutedOnlyReposts: Boolean? = null, mutedOnlyQuoteposts: Boolean? = null, mutedByList: ListViewBasic? = null, blockedBy: Boolean? = null, blocking: AtUri? = null, blockingByList: ListViewBasic? = null, following: AtUri? = null, followedBy: AtUri? = null, knownFollowers: KnownFollowers? = null, activitySubscription: ActivitySubscription? = null)

Properties

Link copied to clipboard

This property is present only in selected cases, as an optimization.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

This property is present only in selected cases, as an optimization.

Link copied to clipboard

Whether the account is fully muted, directly or via a mutelist. False when the mute is scoped to specific kinds; see mutedOnlyReposts and mutedOnlyQuoteposts.

Link copied to clipboard
Link copied to clipboard

Whether the account's quote posts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false.

Link copied to clipboard

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.