chitose.app.bsky.notification package#
Submodules#
chitose.app.bsky.notification.get_unread_count module#
chitose.app.bsky.notification.list_notifications module#
- class chitose.app.bsky.notification.list_notifications.Notification(uri: str, cid: str, author: ProfileView, reason: Literal['like', 'repost', 'follow', 'mention', 'reply', 'quote'], record: Any, is_read: bool, indexed_at: str, reason_subject: str | None = None, labels: list[Label] | None = None)#
Bases:
Object- Parameters:
reason – Expected values are ‘like’, ‘repost’, ‘follow’, ‘mention’, ‘reply’, and ‘quote’.
- to_dict() dict#
chitose.app.bsky.notification.update_seen module#
Module contents#
- class chitose.app.bsky.notification.Notification_(call: Callable[[str, list[tuple[str, str | None | int | list[str]]], bytes | dict | None, dict[str, str]], bytes], subscribe: Callable[[str, list[tuple[str, str | None | int | list[str]]], Callable[[str | bytes], None]], None])#
Bases:
objectWe recommend calling methods in this class via the chitose.BskyAgent class instead of creating instances of this class directly.
- get_unread_count(seen_at: str | None = None) bytes#
- list_notifications(limit: int | None = None, cursor: str | None = None, seen_at: str | None = None) bytes#
- update_seen(seen_at: str) bytes#
Notify server that the user has seen notifications.