app.bsky.notification.listNotifications

Enumerate notifications for the requesting account. Requires auth.

class atproto_client.models.app.bsky.notification.list_notifications.Params

Bases: ParamsModelBase

Parameters model for app.bsky.notification.listNotifications.

field cursor: str | None = None

Cursor.

field limit: int | None = None

Limit.

Constraints:
  • ge = 1

  • le = 100

field priority: bool | None = None

Priority.

field reasons: List[str] | None = None
field seen_at: DateTime | None = None

Seen at.

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: ResponseModelBase

Output data model for app.bsky.notification.listNotifications.

field cursor: str | None = None

Cursor.

field notifications: List[models.AppBskyNotificationListNotifications.Notification] [Required]

Notifications.

field priority: bool | None = None

Priority.

field seen_at: DateTime | None = None

Seen at.

class atproto_client.models.app.bsky.notification.list_notifications.Notification

Bases: ModelBase

Definition 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 reason_subject: AtUri | None = None

Reason subject.

field record: UnknownType [Required]

Record.

Constraints:
  • __module__ = atproto_client.models.unknown_union

  • __firstlineno__ = 72

  • __doc__ = Annotation for lexicon unknown fields: any registered record type, else DotDict. 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 unknown fields: any registered record type, else DotDict.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.