This commit is contained in:
2023-10-13 19:45:30 +03:00
parent 1c46fc1d48
commit 84e6841331
8 changed files with 84 additions and 73 deletions

10
validators/chat.py Normal file
View File

@@ -0,0 +1,10 @@
from typing import Dict, Optional
class Message(Dict):
chat: str
id: int
author: int
body: str
createdAt: int
replyTo: Optional[int]
updatedAt: Optional[int]