inbox/validators/chat.py
2023-10-13 19:45:30 +03:00

10 lines
186 B
Python

from typing import Dict, Optional
class Message(Dict):
chat: str
id: int
author: int
body: str
createdAt: int
replyTo: Optional[int]
updatedAt: Optional[int]