mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-02 11:20:22 +00:00
docs: fix docs formatting drift
This commit is contained in:
@@ -494,9 +494,7 @@ Configuration uses the shared `approvals.exec` config with Slack targets:
|
||||
approvals: {
|
||||
exec: {
|
||||
enabled: true,
|
||||
targets: [
|
||||
{ channel: "slack", to: "U12345678" },
|
||||
],
|
||||
targets: [{ channel: "slack", to: "U12345678" }],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -835,10 +835,10 @@ openclaw message poll --channel telegram --target -1001234567890:topic:42 \
|
||||
|
||||
When the agent encounters a delivery or provider error, Telegram can either reply with the error text or suppress it. Two config keys control this behavior:
|
||||
|
||||
| Key | Values | Default | Description |
|
||||
| --- | ------ | ------- | ----------- |
|
||||
| `channels.telegram.errorPolicy` | `reply`, `silent` | `reply` | `reply` sends a friendly error message to the chat. `silent` suppresses error replies entirely. |
|
||||
| `channels.telegram.errorCooldownMs` | number (ms) | `60000` | Minimum time between error replies to the same chat. Prevents error spam during outages. |
|
||||
| Key | Values | Default | Description |
|
||||
| ----------------------------------- | ----------------- | ------- | ----------------------------------------------------------------------------------------------- |
|
||||
| `channels.telegram.errorPolicy` | `reply`, `silent` | `reply` | `reply` sends a friendly error message to the chat. `silent` suppresses error replies entirely. |
|
||||
| `channels.telegram.errorCooldownMs` | number (ms) | `60000` | Minimum time between error replies to the same chat. Prevents error spam during outages. |
|
||||
|
||||
Per-account, per-group, and per-topic overrides are supported (same inheritance as other Telegram config keys).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user