Black FridayCreate your account by 29 November and get 50% off your first paid month.Offer terms

Guide

How to create a Telegram bot with BotFather

You create a Telegram bot by chatting with BotFather, Telegram's official bot for making and managing bots. It takes a few minutes, costs nothing and needs no code: you choose a name and a username, and BotFather gives you a token that lets software such as TeleManager run the bot.

What is BotFather?

BotFather is Telegram's own bot for creating and managing bots. Every Telegram bot is created there, and it is where you later change a bot's name, picture, description, commands and token.

Commands you add with /setcommands must start with “/” and can be up to 32 characters long. They appear in the menu next to the message field, so people can see what your bot can do.

What can a Telegram bot do once it is created?

On its own, a new bot does nothing. It needs software that receives its messages through Telegram's Bot API and answers them. That can be code you write, or a no-code dashboard such as TeleManager. Once connected, a bot can:

  • Greet people who press Start and explain what you offer
  • Answer common questions with buttons and commands
  • Send updates to everyone who started it
  • Collect details such as an email address
  • Hand a conversation over to a person on your team

Can a Telegram bot message people first?

No. A person must start your bot or message it before the bot can write to them; Telegram's tutorial says the user “must have contacted your bot first”. This protects people from spam, and it is why bots grow through links: in your channel, on your website or in ads. See Telegram bot vs channel vs group for how brands combine them.

How do I keep my bot token safe?

Treat the token like a password. Never post it in chats, screenshots or public code, and give it only to the tools that run your bot. If it leaks, generate a new one in BotFather straight away; the full steps are in Telegram bot token: where to find it.

TeleManager encrypts the token before it is stored and never shows it in full again.

Create your bot in six steps

  1. Open BotFather

    In Telegram, search for @BotFather and open the account with the blue verified check mark. Tap Start. Accounts with similar names are not official.

  2. Send /newbot

    BotFather asks for a name. This is the display name people see in chats, for example “Acme Support”, and you can change it later with /setname.

  3. Choose a username

    Pick a unique username that ends in “bot”, for example acme_support_bot. It becomes the bot's public link, t.me/acme_support_bot, so choose it carefully.

  4. Copy the token

    BotFather replies with a token that looks like 4839574812:AAFD39kkdpWt3ywyRZergyOLMaJhac60qc. Copy it and keep it somewhere safe: it is the password to your bot.

  5. Set up the profile

    Still in BotFather, use /setuserpic for the picture, /setdescription for the text people see before they press Start (up to 512 characters), /setabouttext for the short bio (up to 120 characters) and /setcommands for the command menu.

  6. Connect the bot

    Paste the token into the tool that will run the bot. In TeleManager you paste it when you connect a bot, then set up the welcome message people get when they press Start.

Frequently asked questions

Is it free to create a Telegram bot?

Yes. Creating a bot in BotFather is free. You only pay for the tool or server you use to run it.

Do I need to know how to code?

Not to create the bot: BotFather is just a chat. To make the bot do something, you either write code against Telegram's Bot API or use a no-code dashboard such as TeleManager.

Can I change the bot's name later?

Yes, the display name can be changed at any time with /setname in BotFather. Choose the username carefully, because it is the bot's public link that people share.

What if I lose the token?

Open BotFather, send /mybots, choose the bot and open API Token. You can copy the current token there or generate a new one; a new token stops the old one from working.

Sources

In short
Open @BotFather in Telegram, send /newbot, choose a display name and a username that ends in “bot”, then copy the token BotFather sends you. Keep the token secret: whoever has it controls the bot.
Best for
Anyone making their first Telegram bot for a brand, community or business.
Key features
  • Free, and made inside the Telegram app
  • No code or server needed to create it
  • Name, picture, description and commands set in BotFather
Limitations
Creating a bot only gives it an account and a token: it does nothing until you connect it to software that answers its messages. TeleManager works through Telegram's official Bot API, so bots can only message people who started them, and a bot can be connected to one service at a time. It is an independent tool, not a Telegram product.

Last updated: · How we write this site

Connect your first bot today.

Connect your bots in minutes and grow from there. Start with a free month, no card needed.

Start your free month

Start with a free month · No credit card required