app.bsky.notification.list_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: str [Required]¶
Cid.
- Constraints:
func = Validated by:
string_formats.validate_cid()(only when strict_string_format=True)json_schema_input_type = PydanticUndefined
- field indexed_at: str [Required]¶
Indexed at.
- Constraints:
func = Validated by:
string_formats.validate_datetime()(only when strict_string_format=True)json_schema_input_type = PydanticUndefined
- 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: Literal['like'] | Literal['repost'] | Literal['follow'] | Literal['mention'] | Literal['reply'] | Literal['quote'] | Literal['starterpack-joined'] | Literal['verified'] | Literal['unverified'] | Literal['like-via-repost'] | Literal['repost-via-repost'] | Literal['subscribed-post'] | Literal['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: str | None = None¶
Reason subject.
- field record: UnknownType [Required]¶
Record.
- field uri: str [Required]¶
Uri.
- Constraints:
func = Validated by:
string_formats.validate_at_uri()(only when strict_string_format=True)json_schema_input_type = PydanticUndefined
- class atproto_client.models.app.bsky.notification.list_notifications.Params¶
Bases:
ParamsModelBaseParameters 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: str | None = None¶
Seen at.
- class atproto_client.models.app.bsky.notification.list_notifications.ParamsDict¶
Bases:
TypedDict- cursor: typing_extensions.NotRequired[str | None]¶
Cursor.
- limit: typing_extensions.NotRequired[int | None]¶
Limit.
- priority: typing_extensions.NotRequired[bool | None]¶
Priority.
- reasons: typing_extensions.NotRequired[List[str] | None]¶
Notification reasons to include in response. A reason that matches the reason property of #notification.
- seen_at: typing_extensions.NotRequired[str | None]¶
Seen at.
- class atproto_client.models.app.bsky.notification.list_notifications.Response¶
Bases:
ResponseModelBaseOutput 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: str | None = None¶
Seen at.