Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(sdk-java): drop the default 3 from the webhook update retryCount

Yudhi Armyndharis1c1468776f09
diff --git a/sdk/java/src/main/java/com/rmyndharis/openwa/model/UpdateWebhookRequest.java b/sdk/java/src/main/java/com/rmyndharis/openwa/model/UpdateWebhookRequest.java
index 38961e08b..e66fa37b0 100644
--- a/sdk/java/src/main/java/com/rmyndharis/openwa/model/UpdateWebhookRequest.java
+++ b/sdk/java/src/main/java/com/rmyndharis/openwa/model/UpdateWebhookRequest.java
@@ -63,7 +63,10 @@ public record UpdateWebhookRequest(
return this;
}
- /** 0–5; default 3. Server DTO field is {@code retryCount}. */
+ /**
+ * Total delivery attempts per event including the first, 0 to 5 (0 and 1 both mean one
+ * attempt); omit to keep the current value. Server DTO field is {@code retryCount}.
+ */
public Builder retryCount(Integer v) {
this.retryCount = v;
return this;