feat: basic chat
This commit is contained in:
parent
b7c099c935
commit
240da5277f
8 changed files with 202 additions and 13 deletions
|
|
@ -368,11 +368,11 @@ class PartialDirectMessage(BaseModel):
|
|||
event_id: Optional[str]
|
||||
message: str
|
||||
public_key: str
|
||||
incomming: bool = False
|
||||
incoming: bool = False
|
||||
time: Optional[int]
|
||||
|
||||
|
||||
class DirectMessage(BaseModel):
|
||||
class DirectMessage(PartialDirectMessage):
|
||||
id: str
|
||||
|
||||
@classmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue