chat not found on new bot: start the DM once before testingA newly created Telegram bot is configured correctly, but outbound tests fail with:
400: Bad Request: chat not found
This often happens right after BotFather setup in multi-bot fleets.
Telegram bots cannot proactively DM a user until that user has opened the bot and sent at least one message (for example /start or hi).
So token validation (getMe) can be OK, while sendMessage still fails.
Check each new bot token:
curl -s "https://api.telegram.org/bot<BOT_TOKEN>/getMe"
Expected: "ok": true
From Telegram client:
@<bot_username>hi)openclaw message send \
--channel telegram \
--target <telegram-user-id> \
--message "ping" \
--json
Expected: "ok": true
.env.chat not found on fresh bot)<BOT_TOKEN>, <telegram-user-id>).