fix(docs): merge WhatsApp web config example

This commit is contained in:
Vincent Koc
2026-05-03 11:12:11 -07:00
parent af1c869d10
commit 83b14dc46e
2 changed files with 10 additions and 11 deletions

View File

@@ -97,11 +97,20 @@ WhatsApp runs through the gateway's web channel (Baileys Web). It starts automat
```json5
{
web: {
enabled: true,
heartbeatSeconds: 60,
whatsapp: {
keepAliveIntervalMs: 25000,
connectTimeoutMs: 60000,
defaultQueryTimeoutMs: 60000,
},
reconnect: {
initialMs: 2000,
maxMs: 120000,
factor: 1.4,
jitter: 0.2,
maxAttempts: 0,
},
},
channels: {
whatsapp: {
@@ -118,17 +127,6 @@ WhatsApp runs through the gateway's web channel (Baileys Web). It starts automat
groupAllowFrom: ["+15551234567"],
},
},
web: {
enabled: true,
heartbeatSeconds: 60,
reconnect: {
initialMs: 2000,
maxMs: 120000,
factor: 1.4,
jitter: 0.2,
maxAttempts: 0,
},
},
}
```