← Back to library

Telegram 防误引用:新版默认 replyToMode=off 的落地检查清单

用于群聊里“回复串楼/误引用”治理。前置条件:可修改 gateway 配置并可重启。实施步骤:先看运行状态→显式配置 replyToMode=off→重启并做并发消息回归。关键命令:openclaw gateway status / restart。验证:默认回复不再强制引用首条。风险:若业务依赖引用回复,需要按场景定向开启并回归。

GITHUBDiscovered 2026-02-14Author OpenClaw maintainers
Prerequisites
  • Telegram channel is already enabled and gateway config is writable.
  • You can schedule a short restart window.
Steps
  1. Run `openclaw gateway status` and capture current channel behavior before change.
  2. Set Telegram `replyToMode` explicitly to `off` in config (avoid relying on legacy defaults).
  3. Restart with `openclaw gateway restart` and run a 2-message overlap test in the same chat.
  4. If a workflow requires quoted replies, enable it only for that workflow and retest.
Commands
openclaw gateway status
openclaw gateway restart
Verify

Default Telegram responses are no longer auto-anchored to an earlier message unless explicitly configured.

Caveats
  • Legacy local templates may still carry `first`; verify merged runtime config.
  • Custom forks/plugins may implement reply behavior differently(需验证).
Source attribution

This tip is aggregated from community/public sources and preserved with attribution.

Open original source ↗
Visit original post