Navigation
Telegram Bot Token
Setup your custom Telegram bot with BotFather
Learn how to create your own custom Telegram bot using BotFather and integrate it with Flake for enhanced control, branding, and dedicated rate limits. This feature is available exclusively for paid license holders.
Overview
What is a Telegram Bot Token?
A Telegram bot token is a unique authentication key from BotFather that allows Flake to act as your bot. It works like a secure password so Flake can send messages and run bot commands on your behalf.
Create your bot token
Connect with token
Custom Bot Identity
Your bot appears with your custom name and profile picture
Full Control
Complete control over bot settings and configurations
Enhanced Security
Your own dedicated bot token for maximum security
Rate Limits
Dedicated rate limits not shared with other users
Branding
Customize bot username and appearance to match your brand
Direct API Access
Direct connection to Telegram API with your credentials
Paid License Required — Custom Telegram bot tokens are only available for paid license holders. Free tier users automatically use Flake's shared bot.
ProFree vs Paid Tier
Compare what's available in each tier to understand the benefits of a custom bot token.
Feature Comparison
Compare Flake's shared bot vs your own custom bot
| Feature | Free Tier | Paid Tier |
|---|---|---|
| Bot Token | Shared Flake bot | Your custom bot |
| Bot Name | FlakeBot | Your custom name |
| Profile Picture | Flake logo | Your custom image |
| Rate Limits | Shared with other users | Dedicated limits |
| Setup Required | None - ready to use | BotFather setup needed |
| Control Level | Basic functionality | Full bot control |
BotFather Setup Guide
/startReady to add your bot?
Once you have your bot token from BotFather, head to your dashboard to add it to Flake.
Security Best Practices
Keep Token Private
Never share your bot token publicly or commit it to version control
Use Environment Variables
Store tokens in secure environment variables, not in code
Regular Token Rotation
Consider regenerating tokens periodically for enhanced security
Monitor Bot Activity
Regularly check bot logs for any suspicious activity
Revoke if Compromised
Immediately revoke and regenerate tokens if you suspect a breach
Critical Security Warning
ImportantYour bot token is like a password that gives full access to your bot. If someone gets your token, they can control your bot and send unauthorized messages.
Sharing token in screenshots, chats, or public repositoriesStoring token securely in Flake dashboard onlyTroubleshooting
BotFather says my username is already taken
Try different variations of your desired username. Add underscores, numbers, or descriptive words. Remember it must end with "bot".
I lost my bot token
Contact @BotFather and use the /token command followed by selecting your bot to retrieve the token again.
My bot token isn't working in Flake
Double-check that you copied the complete token including all characters. Ensure there are no extra spaces or line breaks.
Can I change my bot's username later?
Bot usernames cannot be changed after creation. You would need to create a new bot with a different username.
How do I delete a bot I no longer need?
Contact @BotFather and use the /deletebot command, then select the bot you want to remove.
Still having issues?
If you're experiencing problems not covered here, our support team is ready to help.