From 9cfb792dba092ab714344cda043002f85fa09db2 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 1 Apr 2026 14:31:28 +0100 Subject: [PATCH] docs: fix docs formatting drift --- docs/channels/slack.md | 4 +--- docs/channels/telegram.md | 8 ++++---- docs/platforms/android.md | 12 ++++++------ 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/docs/channels/slack.md b/docs/channels/slack.md index 4f3a6df59fa..5c87605c080 100644 --- a/docs/channels/slack.md +++ b/docs/channels/slack.md @@ -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" }], }, }, } diff --git a/docs/channels/telegram.md b/docs/channels/telegram.md index c2a5749f235..87c245a9c4c 100644 --- a/docs/channels/telegram.md +++ b/docs/channels/telegram.md @@ -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). diff --git a/docs/platforms/android.md b/docs/platforms/android.md index 59753ec4aa0..265860fa800 100644 --- a/docs/platforms/android.md +++ b/docs/platforms/android.md @@ -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.