Relationship

@Serializable
data class Relationship(val accountId: String, val isFollowing: Boolean, val hasPendingFollowRequest: Boolean, val isFeatured: Boolean, val isFollowedBy: Boolean, val isMuting: Boolean, val isMutingNotifications: Boolean, val isShowingBoosts: Boolean, val isNotifying: Boolean, val isBlocking: Boolean, val isDomainBlocking: Boolean, val isBlockedBy: Boolean, val note: String)

Represents the relationship between accounts.

Constructors

Link copied to clipboard
constructor(accountId: String, isFollowing: Boolean, hasPendingFollowRequest: Boolean, isFeatured: Boolean, isFollowedBy: Boolean, isMuting: Boolean, isMutingNotifications: Boolean, isShowingBoosts: Boolean, isNotifying: Boolean, isBlocking: Boolean, isDomainBlocking: Boolean, isBlockedBy: Boolean, note: String)

Properties

Link copied to clipboard

ID of the account being examined.

Link copied to clipboard

Whether the current account has a pending follow request for this account.

Link copied to clipboard

Whether the current account is being blocked by this account.

Link copied to clipboard

Whether the current account is blocking this account.

Link copied to clipboard

Whether the current account is blocking this account's domain.

Link copied to clipboard

Whether the current account is featuring this account on their profile.

Link copied to clipboard

Whether the current account is being followed by this account.

Link copied to clipboard

Whether the current account is following this account.

Link copied to clipboard

Whether the current account has muted this account.

Link copied to clipboard

Whether the current account has muted notifications for this account.

Link copied to clipboard

Whether the current account has enabled notifications for this account.

Link copied to clipboard

Whether the current account is showing boosts from this account.

Link copied to clipboard

A private comment left by the current account on this account.