Telegram topic 线程失效时自动降级重试
解决 Telegram 群组 topic 被删除/迁移后消息发送失败的问题:升级到 2026.2.9 后,发送失败会自动去掉 `message_thread_id` 重试,提高投递成功率。
GITHUBDiscovered 2026-02-12Author steipete
Prerequisites
- You use Telegram forum topics and have proactive sends configured.
- Your runtime can be upgraded to release v2026.2.9 or later.
Steps
- Audit existing chat/topic mappings and note channels that recently changed thread IDs.
- Upgrade OpenClaw to v2026.2.9 and restart gateway during a maintenance window.
- Trigger a controlled proactive send to a topic that previously failed with stale `message_thread_id`.
- Confirm fallback behavior: first attempt fails, second attempt retries without thread ID and succeeds.
- Keep a weekly check for renamed/deleted topics and refresh mapping metadata.
Commands
openclaw gateway statusopenclaw gateway restartopenclaw statusVerify
Messages continue to deliver after topic changes, and logs show retry fallback rather than hard failure.
Caveats
- This fallback reduces failures but does not preserve original topic routing in all cases(需验证).
- If your bot lacks permission in the target chat, fallback still cannot deliver.
Source attribution
This tip is aggregated from community/public sources and preserved with attribution.
Open original source ↗