feat: chats list on the left of the client chat

This commit is contained in:
2025-04-16 13:57:29 +04:00
parent 68f94cc9a4
commit 4303f679b5
3 changed files with 59 additions and 3 deletions

View File

@@ -56,6 +56,11 @@ class ChatSchema(BaseSchema):
card_id: Optional[int]
tg_group: Optional[TgGroupSchema]
class ChatsListItemSchema(ChatSchema):
name: str
# endregion
# region Requests
@@ -91,6 +96,10 @@ class GetMessagesRequest(BaseSchema):
# region Responses
class GetChatsListResponse(BaseSchema):
chats: list[ChatsListItemSchema]
class SendTextMessageResponse(OkMessageSchema):
pass