openclaw/extensions/telegram
Robin Waslander 865160e572
fix(telegram): validate replyToMessageId before sending to Telegram API (#56587)
Add shared normalizeTelegramReplyToMessageId() that rejects non-numeric,
NaN, and mixed-content strings before they reach the Telegram Bot API.
Apply at all four API sinks: direct send, bot delivery, draft stream,
and bot helpers.

Prevents GrammyError 400 when non-numeric values from session metadata
slip through typed boundaries.

Fixes #37222
2026-03-28 20:47:10 +01:00
..
src fix(telegram): validate replyToMessageId before sending to Telegram API (#56587) 2026-03-28 20:47:10 +01:00
allow-from.ts perf: split telegram audit runtime seams 2026-03-22 00:53:12 +00:00
api.ts refactor: route more test seams through public plugin APIs 2026-03-27 13:46:17 +00:00
channel-config-api.ts refactor: move channel config metadata into plugin-owned manifests 2026-03-27 01:59:30 +00:00
index.ts
openclaw.plugin.json
package-manifest.contract.test.ts refactor: move extension-owned tests to extensions 2026-03-27 21:37:09 +00:00
package.json refactor: derive channel metadata from plugin manifests 2026-03-28 17:17:10 +00:00
runtime-api.ts refactor: move provider seams behind plugin sdk surfaces 2026-03-27 23:26:26 +00:00
setup-entry.ts
test-api.ts refactor: route plugin runtime through bundled seams 2026-03-27 16:40:27 +00:00
update-offset-runtime-api.ts refactor: remove remaining core extension reach-ins 2026-03-27 13:46:16 +00:00