openclaw/extensions/telegram
moltbot886 d264c761cb fix(telegram): add allow_sending_without_reply to prevent lost messages
When a Telegram message that OpenClaw is replying to gets deleted before
delivery, the Telegram API rejects the entire sendMessage call with
"message to be replied not found". This causes the bot's response to be
silently lost and stuck in the failed delivery queue permanently.

Setting allow_sending_without_reply: true tells Telegram to deliver the
message as a standalone message if the reply target no longer exists,
instead of failing the entire request.

Applied to all 6 locations across 4 source files where
reply_to_message_id is set:
- send.ts: buildTelegramReplyParams (both reply_parameters and plain reply)
- bot/delivery.send.ts: buildTelegramSendParams
- draft-stream.ts: draft stream reply params
- bot-handlers.runtime.ts: error reply messages (file too large, media download failed)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 18:54:01 -07:00
..
src fix(telegram): add allow_sending_without_reply to prevent lost messages 2026-03-22 18:54:01 -07:00
allow-from.ts perf: split telegram audit runtime seams 2026-03-22 00:53:12 +00:00
api.ts refactor: route extension seams through public apis 2026-03-19 03:20:10 +00:00
index.ts refactor: clean extension api boundaries 2026-03-17 09:38:21 -07:00
openclaw.plugin.json
package.json build: bump version to 2026.3.22 2026-03-22 11:58:33 -07:00
runtime-api.ts fix(plugin-sdk): remove relative extension boundary escapes (#51939) 2026-03-21 20:03:18 -05:00
setup-entry.ts refactor: clean extension api boundaries 2026-03-17 09:38:21 -07:00