2023-12-17 20:13:17 +03:00
|
|
|
from typing import Optional, TypedDict
|
2023-10-14 17:55:51 +03:00
|
|
|
|
|
|
|
|
|
|
|
class Message(TypedDict):
|
|
|
|
id: int
|
2023-11-16 18:28:16 +03:00
|
|
|
chat_id: str
|
2023-11-17 12:10:36 +03:00
|
|
|
created_by: int
|
2023-10-14 17:55:51 +03:00
|
|
|
body: str
|
2023-11-16 17:58:14 +03:00
|
|
|
created_at: int
|
|
|
|
reply_to: Optional[int]
|
|
|
|
created_at: int
|
|
|
|
updated_at: Optional[int]
|