Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(sdk): say when Java updateConfig changes take effect

Yudhi Armyndharis546efa3746e9
diff --git a/sdk/java/src/main/java/com/rmyndharis/openwa/resources/SessionsResource.java b/sdk/java/src/main/java/com/rmyndharis/openwa/resources/SessionsResource.java
index 30a02b286..9bd3b4d36 100644
--- a/sdk/java/src/main/java/com/rmyndharis/openwa/resources/SessionsResource.java
+++ b/sdk/java/src/main/java/com/rmyndharis/openwa/resources/SessionsResource.java
@@ -44,8 +44,10 @@ public final class SessionsResource {
}
/**
- * Update a RUNNING session's configuration. Takes effect without re-linking the account — all
- * three fields were fixed at creation before this route existed.
+ * Update a session's configuration, in any state, without a restart or re-linking the account
+ * (all three fields were fixed at creation before this route existed). {@code autoRejectCalls}
+ * applies immediately; {@code maxReconnectAttempts} and {@code reconnectBaseDelay} apply on the
+ * next start.
*/
public SessionConfig updateConfig(String id, UpdateSessionConfigRequest body) {
return client.request(