Summary
chat.bsky.notification.* (defs / getPreferences / putPreferences) is missing from ATProtoKit. The lexicon mirrors the existing app.bsky.notification.{getPreferences, putPreferences} shape exactly but on the api.bsky.chat host, so clients cannot expose typed access to DM notification toggles.
Pain points
No way to fetch or update the user's DM notification preferences through the typed pipeline; consumers must drop down to raw XRPC and re-implement api.bsky.chat routing.
Considered Alternatives
Raw XRPC for the chat notification preferences endpoint pair — loses typed pipeline and forces every consumer to repeat the host routing.
Is this a breaking change?
No
Library Examples
N/A
Additional Context
Missing lexicons
| Lexicon |
Suggested wrapper |
chat.bsky.notification.defs |
types only |
chat.bsky.notification.getPreferences |
getChatNotificationPreferences() |
chat.bsky.notification.putPreferences |
putChatNotificationPreferences(_:) |
All sit on api.bsky.chat and require isRelatedToBskyChat: true routing.
References
Summary
chat.bsky.notification.*(defs / getPreferences / putPreferences) is missing from ATProtoKit. The lexicon mirrors the existingapp.bsky.notification.{getPreferences, putPreferences}shape exactly but on theapi.bsky.chathost, so clients cannot expose typed access to DM notification toggles.Pain points
No way to fetch or update the user's DM notification preferences through the typed pipeline; consumers must drop down to raw XRPC and re-implement
api.bsky.chatrouting.Considered Alternatives
Raw XRPC for the chat notification preferences endpoint pair — loses typed pipeline and forces every consumer to repeat the host routing.
Is this a breaking change?
No
Library Examples
N/A
Additional Context
Missing lexicons
chat.bsky.notification.defschat.bsky.notification.getPreferencesgetChatNotificationPreferences()chat.bsky.notification.putPreferencesputChatNotificationPreferences(_:)All sit on
api.bsky.chatand requireisRelatedToBskyChat: truerouting.References
Sources/ATProtoKit/Models/Lexicons/chat.bsky/Notification/(new),Sources/ATProtoKit/APIReference/ChatBskyAPI/(new method files)