How to register your bot in Telegram via BotFather
Ruslan KayumovEN | RU
You’ll need a token to use a Telegram bot. A token is a secret key that grants control over your bot.
Steps to Get a Token via BotFather:
- Open Telegram → Search for @BotFather (the official bot for creating bots).
- Start the chat → Tap /start, then select /newbot.
- Choose a bot name (e.g., MyTestBot) → Send.
- Create a username → Must end with …_bot (e.g., MyTest123_bot). Important: You won’t be able to change it later.
- Get your token → After confirmation, BotFather will send a message containing your token (format:
1234567890:ABCdefGhIJKlmNoPQRsTUVwxyz).

Important Notes:
▪️ The token is your bot’s password. Never share it or publish it publicly.
▪️ If the token is compromised → Use /revoke in @BotFather to generate a new one.
Done! Use the token to connect your bot to the API or integrate it with external services. For example, services like HostRoom Telegram Hosting allow you to run bots directly within Telegram.