Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

fix(sdk): type Python ChatSummary.timestamp as int

Yudhi Armyndharis6c6dcdb75aab
diff --git a/sdk/python/openwa/types.py b/sdk/python/openwa/types.py
index 7d673c261..47d4ac4e5 100644
--- a/sdk/python/openwa/types.py
+++ b/sdk/python/openwa/types.py
@@ -982,7 +982,7 @@ class ChatSummary(TypedDict):
unreadCount: int
# Server returns a plain preview string, not a message object.
lastMessage: NotRequired[str]
- timestamp: str | int
+ timestamp: int
kind: ChatKind
archived: bool
pinned: bool