tg_rules
Update Telegram alert rules by merging partial changes. Set enabled flags, private/mention triggers, keywords, watched/muted chats, bot filtering, interval, and quiet hours.
Instructions
Update alert rules. Keys: enabled, alert_on_private, alert_on_mention, keywords (list), watch_chats (list), mute_chats (list), ignore_bots, min_interval_sec, quiet_hours ([start_hour, end_hour] or null).
Call tg_status first to see current values; this merges on top of them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |