Guide
How to get a BotFather token (Telegram bot token)
If you can search for a contact and copy/paste a code, you can do this. Treat the token like a password.
What you’re looking for
A token that looks like this
123456789:AAAbbbCCCDDDeeeFFF
If what you copied doesn’t include a colon (:), it’s probably not the token.
Step-by-step
Create a bot and get the token
- Open Telegram.
- Search for @BotFather and open the chat.
- Tap Start.
- Send /newbot.
- Pick a name, then pick a username ending with bot.
- BotFather will reply with your token. Copy it.
- Paste it into Command Claw setup and connect Telegram.
Security
Rotate the token if it leaks
If you shared the token in a screenshot, pasted it into the wrong place, or think it was exposed, rotate it in BotFather and update it in Command Claw.
- Open @BotFather.
- Send /mybots.
- Select your bot.
- Choose the token option and generate a new token.
- Paste the new token into Command Claw and reconnect.
Tip: store the token in a password manager, not a notes app.
Troubleshooting
If the token is rejected
- Remove any spaces before or after the token.
- Make sure you’re pasting the token, not the bot username.
- If you rotated the token, the old token will stop working.