Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(sdk): state the type and unit of ChatSummary.timestamp in Java

Yudhi Armyndharisc1709624a0e4
diff --git a/sdk/java/src/main/java/com/rmyndharis/openwa/model/ChatSummary.java b/sdk/java/src/main/java/com/rmyndharis/openwa/model/ChatSummary.java
index 85bcb0966..9c9493d11 100644
--- a/sdk/java/src/main/java/com/rmyndharis/openwa/model/ChatSummary.java
+++ b/sdk/java/src/main/java/com/rmyndharis/openwa/model/ChatSummary.java
@@ -3,8 +3,8 @@ package com.rmyndharis.openwa.model;
/**
* A chat-list entry. Optional fields are {@code null} when absent.
*
- * <p>{@code timestamp} is loosely typed on the wire (string or number), so it is
- * exposed as {@link Object}.
+ * <p>{@code timestamp} is the Unix time in seconds of the last activity (unlike
+ * {@code muteExpiration}, which is epoch milliseconds).
*/
public record ChatSummary(
String id,