feat: add `INoteState` class

pull/26/head
yupix 2 years ago
parent 4f34343d2e
commit 7b77b77abc
No known key found for this signature in database
GPG Key ID: 2FF705F5C56D9C06

@ -8,6 +8,12 @@ from .user import ILiteUser
T = TypeVar('T')
class INoteState(TypedDict):
is_favorited: bool
is_watching: bool
is_muted_thread: bool
class INoteUpdated(TypedDict, Generic[T]):
type: Literal['noteUpdated']
body: T

Loading…
Cancel
Save