Package-level declarations

Types

Link copied to clipboard
data class ActivitySubscription(val post: Boolean, val reply: Boolean)
Link copied to clipboard
data class ChatPreference(val include: ChatPreferenceInclude, val push: Boolean)
Link copied to clipboard
data class Declaration(val allowSubscriptions: DeclarationAllowSubscriptions)
Link copied to clipboard

A declaration of the user's preference for allowing activity subscriptions from other users. Absence of a record implies 'followers'.

Link copied to clipboard
data class FilterablePreference(val include: FilterablePreferenceInclude, val list: Boolean, val push: Boolean)

A contact of the requesting account joined Bluesky.

Link copied to clipboard

Which notification feed to return. Grouping behavior varies by feed: notifications about follows might be grouped in 'all' and ungrouped (or rather, in single-item groups) in 'followers'.

data class GetGroupedNotificationsFollowBackNotification(val actor: Did, val starterPack: AtUri? = null)

An actor followed the requesting account back, possibly via a starter pack.

Link copied to clipboard

Group of actors who followed the requesting account.

Link copied to clipboard
data class GetGroupedNotificationsFollowItem(val actor: Did, val starterPack: AtUri? = null)

An actor who followed the requesting account, possibly via a starter pack.

Group of likes by different actors on the same feed generator.

Link copied to clipboard

One actor who liked the feed generator in the group.

Link copied to clipboard
data class GetGroupedNotificationsGroup(val id: String, val isRead: Boolean, val indexedAt: Timestamp, val count: Long, val kind: GetGroupedNotificationsGroupKindUnion)

Contains common metadata and kind-specific data for a notification group or individual notification.

Link copied to clipboard

Group of likes by different actors on the same post.

Link copied to clipboard

One actor who liked the group's post.

Group of likes by different actors on the same post via the requesting account's repost.

Link copied to clipboard

One actor who liked the group's post via the requesting account's repost.

data class GetGroupedNotificationsMentionNotification(val post: AtUri, val parent: AtUri? = null)

A post mentioning the requesting account.

Group of likes by the same actor on different posts.

Link copied to clipboard

One post which was liked by the group's actor.

Group of likes by the same actor on different posts via the requesting account's reposts.

One post which was liked by the group's actor via the requesting account's repost.

Group of reposts by the same actor of different posts.

One post which was reposted by the group's actor.

Group of reposts by the same actor of different posts via the requesting account's reposts.

One post which was reposted by the group's actor via the requesting account's repost.

Link copied to clipboard
data class GetGroupedNotificationsQueryParams(val feed: GetGroupedNotificationsFeed? = GetGroupedNotificationsFeed.All, val limit: Long? = 30, val cursor: String? = null)
Link copied to clipboard
data class GetGroupedNotificationsQuoteNotification(val post: AtUri, val parent: AtUri? = null)

A post quoting a post by the requesting account.

Link copied to clipboard

A reply to a post by the requesting account or to a thread they are participating in.

Link copied to clipboard

Group of reposts by different actors of the same post.

Link copied to clipboard

One actor who reposted the group's post.

Group of reposts by different actors of the same post via the requesting account's repost.

One actor who reposted the group's post via the requesting account's repost.

Link copied to clipboard
data class GetGroupedNotificationsResponse(val cursor: String? = null, val groups: List<GetGroupedNotificationsGroup>, val seenAt: Timestamp? = null, val relatedViews: List<GetGroupedNotificationsResponseRelatedViewUnion>? = null)

An actor joined Bluesky via a starter pack created by the requesting account.

Group of new posts by actors the requesting account subscribes to.

data class GetGroupedNotificationsSubscribedPostItem(val actor: Did, val post: AtUri, val parent: AtUri? = null)

One new post by an actor the requesting account subscribes to.

A verification of the requesting account was removed.

An actor verified the requesting account.

Link copied to clipboard
data class GetPreferencesResponse(val preferences: Preferences)
Link copied to clipboard
data class GetUnreadCountQueryParams(val priority: Boolean? = null, val seenAt: Timestamp? = null)
Link copied to clipboard
Link copied to clipboard
data class ListActivitySubscriptionsQueryParams(val limit: Long? = 50, val cursor: String? = null)
Link copied to clipboard
data class ListActivitySubscriptionsResponse(val cursor: String? = null, val subscriptions: List<ProfileView>)
Link copied to clipboard
data class ListNotificationsNotification(val uri: AtUri, val cid: Cid, val author: ProfileView, val reason: ListNotificationsNotificationReason, val reasonSubject: AtUri? = null, val record: JsonContent, val starterPack: StarterPackViewBasic? = null, val isRead: Boolean, val indexedAt: Timestamp, val labels: List<Label>? = null)
Link copied to clipboard

The reason why this notification was delivered - e.g. your post was liked, or you received a new follower.

Link copied to clipboard
data class ListNotificationsQueryParams(val reasons: List<String>? = null, val limit: Long? = 50, val priority: Boolean? = null, val cursor: String? = null, val seenAt: Timestamp? = null)
Link copied to clipboard
data class ListNotificationsResponse(val cursor: String? = null, val notifications: List<ListNotificationsNotification>, val priority: Boolean? = null, val seenAt: Timestamp? = null)
Link copied to clipboard
data class Preference(val list: Boolean, val push: Boolean)
Link copied to clipboard
data class Preferences(val chat: ChatPreference, val follow: FilterablePreference, val like: FilterablePreference, val likeViaRepost: FilterablePreference, val mention: FilterablePreference, val quote: FilterablePreference, val reply: FilterablePreference, val repost: FilterablePreference, val repostViaRepost: FilterablePreference, val starterpackJoined: Preference, val subscribedPost: Preference, val unverified: Preference, val verified: Preference)
Link copied to clipboard
data class PutActivitySubscriptionRequest(val subject: Did, val activitySubscription: ActivitySubscription)
Link copied to clipboard
data class PutActivitySubscriptionResponse(val subject: Did, val activitySubscription: ActivitySubscription? = null)
Link copied to clipboard
data class PutPreferencesRequest(val priority: Boolean)
Link copied to clipboard
data class PutPreferencesV2Request(val chat: ChatPreference? = null, val follow: FilterablePreference? = null, val like: FilterablePreference? = null, val likeViaRepost: FilterablePreference? = null, val mention: FilterablePreference? = null, val quote: FilterablePreference? = null, val reply: FilterablePreference? = null, val repost: FilterablePreference? = null, val repostViaRepost: FilterablePreference? = null, val starterpackJoined: Preference? = null, val subscribedPost: Preference? = null, val unverified: Preference? = null, val verified: Preference? = null)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class RegisterPushRequest(val serviceDid: Did, val token: String, val platform: RegisterPushPlatform, val appId: String, val ageRestricted: Boolean? = null)
Link copied to clipboard
data class SubjectActivitySubscription(val subject: Did, val activitySubscription: ActivitySubscription)

Object used to store activity subscription data in stash.

Link copied to clipboard
data class UnregisterPushRequest(val serviceDid: Did, val token: String, val platform: UnregisterPushPlatform, val appId: String)
Link copied to clipboard
data class UpdateSeenRequest(val seenAt: Timestamp)