Files
openclaw/src/telegram
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
..
2026-01-17 01:25:10 +00:00
2026-01-14 15:02:19 +00:00
2026-01-16 21:11:55 +00:00
2026-01-14 15:02:19 +00:00
2026-01-14 15:02:19 +00:00
2026-01-15 01:27:16 +00:00
2026-01-07 04:16:39 +01:00
2026-01-14 15:02:19 +00:00
2025-12-23 00:28:55 +00:00
2026-01-15 17:07:38 +00:00
2026-01-15 17:07:38 +00:00