Add comments service with get_comments_for_message method

This commit is contained in:
CREDO23 2026-01-15 17:09:59 +02:00
parent 43939d554c
commit d24759f691
2 changed files with 146 additions and 4 deletions

View file

@ -55,8 +55,6 @@ class CommentReplyResponse(BaseModel):
created_at: datetime
updated_at: datetime
is_edited: bool
can_edit: bool
can_delete: bool
model_config = ConfigDict(from_attributes=True)
@ -72,8 +70,6 @@ class CommentResponse(BaseModel):
created_at: datetime
updated_at: datetime
is_edited: bool
can_edit: bool
can_delete: bool
reply_count: int
replies: list[CommentReplyResponse] = []