openclaw/src
danielz1z 80bb6b712c fix: handle telegram: prefix in resolveTelegramTargetChatType
When using inlineButtons="dm" or "group" scope, the validation check
resolveTelegramTargetChatType() failed for numeric chat IDs because
normalizeTelegramMessagingTarget() adds a "telegram:" prefix during
target resolution.

For example, target "5232990709" becomes "telegram:5232990709" after
normalization, but the regex /^-?\d+$/ expects a pure numeric string.

The fix strips the telegram: prefix before checking the numeric pattern.

Adds tests for resolveTelegramTargetChatType with various input formats.
2026-01-17 07:47:14 +00:00
..
agents test: stabilize bash send-keys submit 2026-01-17 07:41:24 +00:00
auto-reply refactor: prune room legacy 2026-01-17 07:41:24 +00:00
browser fix: keep extension relay list current (#1073) 2026-01-17 07:43:31 +00:00
canvas-host chore: run format and fix sandbox browser timeouts 2026-01-16 09:18:58 +00:00
channels refactor: prune room legacy 2026-01-17 07:41:24 +00:00
cli fix: keep extension relay list current (#1073) 2026-01-17 07:43:31 +00:00
commands refactor: rename hooks docs and add tests 2026-01-17 07:32:54 +00:00
config refactor: rename hooks docs and add tests 2026-01-17 07:32:54 +00:00
cron style: oxfmt format 2026-01-17 05:48:56 +00:00
daemon chore: run format and fix sandbox browser timeouts 2026-01-16 09:18:58 +00:00
discord refactor: prune room legacy 2026-01-17 07:41:24 +00:00
docs
gateway refactor: canonicalize gateway session store keys 2026-01-17 07:41:24 +00:00
hooks refactor: rename hooks docs and add tests 2026-01-17 07:32:54 +00:00
imessage fix: persist deliveryContext on last-route updates 2026-01-17 06:54:31 +00:00
infra chore: drop target format helper 2026-01-17 07:36:13 +00:00
logging
macos
markdown
media refactor: unify media understanding pipeline 2026-01-17 04:39:00 +00:00
media-understanding refactor: normalize media attachment selection 2026-01-17 07:38:11 +00:00
memory
pairing fix(zalo): fix pairing channel detection and webhook payload format 2026-01-16 10:43:14 +07:00
plugins feat: unify hooks installs and webhooks 2026-01-17 07:08:04 +00:00
process
providers
routing refactor: canonicalize gateway session store keys 2026-01-17 07:41:24 +00:00
security fix(security): gate slash/control commands 2026-01-17 06:49:34 +00:00
sessions refactor: align channel chatType 2026-01-17 04:13:06 +00:00
signal fix: persist deliveryContext on last-route updates 2026-01-17 06:54:31 +00:00
slack refactor: prune room legacy 2026-01-17 07:41:24 +00:00
telegram fix: handle telegram: prefix in resolveTelegramTargetChatType 2026-01-17 07:47:14 +00:00
terminal
tui refactor: centralize account bindings + health probes 2026-01-17 01:19:43 +00:00
types feat: add exec pty support 2026-01-17 04:57:11 +00:00
utils refactor: unify queue drop handling 2026-01-17 06:38:33 +00:00
web fix: persist deliveryContext on last-route updates 2026-01-17 06:54:31 +00:00
whatsapp
wizard refactor: rename hooks docs and add tests 2026-01-17 07:32:54 +00:00
channel-web.barrel.test.ts
channel-web.ts
docker-setup.test.ts
entry.ts chore(cli): set process title 2026-01-16 01:33:28 +00:00
globals.test.ts
globals.ts
index.test.ts
index.ts
logger.test.ts
logger.ts
logging.ts
polls.test.ts
polls.ts
postinstall-patcher.test.ts
runtime.ts
utils.test.ts
utils.ts
version.ts