mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-02 23:47:11 +02: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).
|
||||
|
||||
|
||||
@@ -171,13 +171,13 @@ See [Camera node](/nodes/camera) for parameters and CLI helpers.
|
||||
|
||||
Android can forward device notifications to the gateway as events. Several controls let you scope which notifications are forwarded and when.
|
||||
|
||||
| Key | Type | Description |
|
||||
| --- | ---- | ----------- |
|
||||
| `notifications.allowPackages` | string[] | Only forward notifications from these package names. If set, all other packages are ignored. |
|
||||
| `notifications.denyPackages` | string[] | Never forward notifications from these package names. Applied after `allowPackages`. |
|
||||
| Key | Type | Description |
|
||||
| -------------------------------- | -------------- | ------------------------------------------------------------------------------------------------- |
|
||||
| `notifications.allowPackages` | string[] | Only forward notifications from these package names. If set, all other packages are ignored. |
|
||||
| `notifications.denyPackages` | string[] | Never forward notifications from these package names. Applied after `allowPackages`. |
|
||||
| `notifications.quietHours.start` | string (HH:mm) | Start of quiet hours window (local device time). Notifications are suppressed during this window. |
|
||||
| `notifications.quietHours.end` | string (HH:mm) | End of quiet hours window. |
|
||||
| `notifications.rateLimit` | number | Maximum forwarded notifications per package per minute. Excess notifications are dropped. |
|
||||
| `notifications.quietHours.end` | string (HH:mm) | End of quiet hours window. |
|
||||
| `notifications.rateLimit` | number | Maximum forwarded notifications per package per minute. Excess notifications are dropped. |
|
||||
|
||||
The notification picker also uses safer behavior for forwarded notification events, preventing accidental forwarding of sensitive system notifications.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user