Files
clawdbot/src/infra
Yurii Chukhlib 9d42972b8a fix(heartbeat): pass accountId for Telegram delivery
Heartbeat Telegram delivery was failing when the bot token was
configured only via telegram.botToken in config (without TELEGRAM_BOT_TOKEN
environment variable).

Root cause: deliverOutboundPayloads was called without accountId parameter,
so sendMessageTelegram couldn't determine which account to use and couldn't
find the token from config.

Fix: Resolve default Telegram accountId when provider is "telegram" and pass
it to deliverOutboundPayloads. This follows the same pattern used elsewhere in
the codebase (e.g., cron uses resolveTelegramToken).

Changes:
- Added import for resolveDefaultTelegramAccountId
- Added accountId resolution for telegram provider
- Updated deliverOutboundPayloads call to include accountId

Fixes #318

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-08 20:47:22 +01:00
..
2026-01-07 23:22:12 +00:00
2026-01-08 02:44:19 +00:00
2026-01-07 00:18:07 +01:00
2026-01-05 01:11:29 +01:00
2026-01-05 01:11:29 +01:00
2025-12-23 00:28:55 +00:00
2025-12-12 16:47:10 +00:00
2026-01-08 04:44:15 +00:00
2025-12-20 18:39:17 +01:00
2026-01-07 00:04:44 +01:00
2026-01-08 02:29:32 +01:00
2026-01-07 11:49:01 +01:00
2026-01-07 11:49:01 +01:00
2026-01-08 07:41:39 +00:00
2026-01-07 17:48:19 +00:00
2026-01-07 17:48:19 +00:00
2026-01-07 17:48:19 +00:00
2026-01-08 05:21:20 +00:00
2026-01-04 14:38:51 +00:00
2025-12-23 03:00:04 +01:00