Message the bot once from your account, then check the token and chat ID in the code.
What the message means
Telegram only lets a bot write to a chat that has started. The library also needs a working HTTPS connection with the right time.
Fix it in this order
- Open your bot in Telegram and press start.
- Check the token from the bot creator chat and the chat ID of your own account.
- Sync the time first. See the NTP page.
- Add the certificate or use the setting your library needs for HTTPS.
- Poll every second or two, not in a tight loop.
- Print the library return values to see errors.
If you see this, do this
| You see | Do this |
|---|---|
| Never receives anything | Token, chat ID or HTTPS. |
| Sends but does not receive | Polling or the update offset. |
Related
Last reviewed: November 2026. These are the usual causes and the order that finds them fastest. Test on your own board; clones and cables differ.