app.bsky.notification.listNotifications
Enumerate notifications for the requesting account. Requires auth.
- class atproto_client.models.app.bsky.notification.list_notifications.Params
Bases:
ParamsModelBaseParameters model for
app.bsky.notification.listNotifications.
- class atproto_client.models.app.bsky.notification.list_notifications.ParamsDict
Bases:
TypedDict- cursor: NotRequired[str | None]
Cursor.
- limit: NotRequired[int | None]
Limit.
- priority: NotRequired[bool | None]
Priority.
- reasons: NotRequired[List[str] | None]
Notification reasons to include in response. A reason that matches the reason property of #notification.
- seen_at: NotRequired[DateTime | None]
Seen at.
- class atproto_client.models.app.bsky.notification.list_notifications.Response
Bases:
ResponseModelBaseOutput data model for
app.bsky.notification.listNotifications.- field notifications: List[models.AppBskyNotificationListNotifications.Notification] [Required]
Notifications.
- class atproto_client.models.app.bsky.notification.list_notifications.Notification
Bases:
ModelBaseDefinition model for
app.bsky.notification.listNotifications.- field author: models.AppBskyActorDefs.ProfileView [Required]
Author.
- field cid: Cid [Required]
Cid.
- field indexed_at: DateTime [Required]
Indexed at.
- field is_read: bool [Required]
Is read.
- field labels: List[models.ComAtprotoLabelDefs.Label] | None = None
Labels.
- field reason: Literal['like', 'repost', 'follow', 'mention', 'reply', 'quote', 'starterpack-joined', 'verified', 'unverified', 'like-via-repost', 'repost-via-repost', 'subscribed-post', 'contact-match'] | str [Required]
The reason why this notification was delivered - e.g. your post was liked, or you received a new follower.
- field record: UnknownType [Required]
Record.
- Constraints:
__module__ = atproto_client.models.unknown_union
__firstlineno__ = 72
__doc__ = Annotation for lexicon
unknownfields: any registered record type, elseDotDict. Record types are looked up in the runtime registry rather than in a union fixed at import time, so a record defined by a package generated from custom lexicons is decoded to its own model.__get_pydantic_core_schema__ = <bound method UnknownRecordFallback.__get_pydantic_core_schema__ of <class ‘atproto_client.models.unknown_union.UnknownRecordFallback’>>
__static_attributes__ = ()
__dict__ = {‘__module__’: ‘atproto_client.models.unknown_union’, ‘__firstlineno__’: 72, ‘__doc__’: ‘Annotation for lexicon
unknownfields: any registered record type, elseDotDict.nnRecord types are looked up in the runtime registry rather than in a union fixed at import time,nso a record defined by a package generated from custom lexicons is decoded to its own model.n’, ‘__get_pydantic_core_schema__’: <classmethod(<function UnknownRecordFallback.__get_pydantic_core_schema__ at 0x786e5ef30d60>)>, ‘__static_attributes__’: (), ‘__dict__’: <attribute ‘__dict__’ of ‘UnknownRecordFallback’ objects>, ‘__weakref__’: <attribute ‘__weakref__’ of ‘UnknownRecordFallback’ objects>}__weakref__ = <attribute ‘__weakref__’ of ‘UnknownRecordFallback’ objects>
- field starter_pack: models.AppBskyGraphDefs.StarterPackViewBasic | None = None
- field uri: AtUri [Required]
Uri.