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: str, record: Any, is_read: str, 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_(service: str, headers: dict[str, str])

Bases: object

We 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.