app.bsky.notification.list_notifications

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: str [Required]

Cid.

field indexed_at: str [Required]

Indexed at.

field is_read: bool [Required]

Is read.

field labels: List[models.ComAtprotoLabelDefs.Label] | None = None

Labels.

field py_type: Literal['app.bsky.notification.listNotifications#notification'] = 'app.bsky.notification.listNotifications#notification'
field reason: str [Required]

Expected values are ‘like’, ‘repost’, ‘follow’, ‘mention’, ‘reply’, and ‘quote’.

field reason_subject: str | None = None

Reason subject.

field record: UnknownType [Required]

Record.

field uri: str [Required]

Uri.

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 = 50

Limit.

Constraints:
  • ge = 1

  • le = 100

field seen_at: str | None = None

Seen at.

class atproto_client.models.app.bsky.notification.list_notifications.ParamsDict(*args, **kwargs)

Bases: dict

cursor: typing_extensions.NotRequired[str | None]

Cursor.

limit: typing_extensions.NotRequired[int | None]

Limit.

seen_at: typing_extensions.NotRequired[str | 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 seen_at: str | None = None

Seen at.