feat: keep track of new messages
This commit is contained in:
parent
098cb5adf5
commit
e04b9dc448
7 changed files with 32 additions and 1 deletions
|
|
@ -442,6 +442,7 @@ class Customer(BaseModel):
|
|||
public_key: str
|
||||
event_created_at: Optional[int]
|
||||
profile: Optional[CustomerProfile]
|
||||
unread_messages: int = 0
|
||||
|
||||
@classmethod
|
||||
def from_row(cls, row: Row) -> "Customer":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue