ニジカのスカトロ,ニジカトロ. https://bsky.app/profile/deerjika-bot.bsky.social
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
989 B

  1. from datetime import datetime
  2. from atproto import models
  3. class Client:
  4. app: AppNamespace
  5. def get_current_time_iso (self) -> datetime: ...
  6. def get_post_thread (
  7. self,
  8. uri: str,
  9. parent_height: int | None = None
  10. ) -> Response: ...
  11. def follow (self, did: str) -> None: ...
  12. class AppNamespace:
  13. bsky: AppBskyNamespace
  14. class AppBskyNamespace:
  15. notification: AppBskyNotificationNamespace
  16. class AppBskyNotificationNamespace:
  17. def list_notifications (self) -> Response: ...
  18. def update_seen (self, seen: dict[str, datetime]) -> None: ...
  19. class Response:
  20. notifications: list[Notification]
  21. thread: (ThreadViewPost
  22. | models.AppBskyFeedDefs.NotFoundPost
  23. | models.AppBskyFeedDefs.BlockedPost)
  24. class Notification:
  25. is_read: bool
  26. reason: str
  27. uri: str
  28. author: ProfileView
  29. class ProfileView:
  30. did: str