mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-10 20:35:17 +02:00
add author fields to NewChatMessageRead schema
This commit is contained in:
parent
efcc394b0c
commit
468feae592
1 changed files with 3 additions and 0 deletions
|
|
@ -38,6 +38,9 @@ class NewChatMessageRead(NewChatMessageBase, IDModel, TimestampModel):
|
|||
"""Schema for reading a message."""
|
||||
|
||||
thread_id: int
|
||||
author_id: UUID | None = None
|
||||
author_display_name: str | None = None
|
||||
author_avatar_url: str | None = None
|
||||
model_config = ConfigDict(from_attributes=True)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue