feat: chats list on the left of the client chat
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user