How to Create a Telegram Bot with BotFather (Beginner Guide)

Every Telegram bot, from the simplest to the most popular, is created with the same official tool: BotFather. You do not need to know how to code to create the bot account; you only need code (or a no-code tool) to make it do things.

Step 1: Open BotFather

Search for @BotFather in Telegram (it has a blue verified tick) and press Start.

Step 2: Create the bot

  1. Send the command /newbot.
  2. Write the name people will see, for example “My Weather Helper”.
  3. Choose a username. It must be unique and end in “bot”, for example MyWeatherHelperBot.

Step 3: Save your token

BotFather replies with an API token, a long code like 123456:ABC-DEF. This is the password of your bot: anyone who has it can control it. Keep it private. If you leak it, use /revoke to get a new one.

Step 4: Customise it

  • /setdescription: the text people see before starting the bot.
  • /setabouttext: the short bio in the bot profile.
  • /setuserpic: the profile picture.
  • /setcommands: the menu of commands, for example “start – Start the bot”.

Step 5: Make it work

Now connect the token to your code. Popular options are the python-telegram-bot library, Node.js libraries, or no-code platforms. If you need help, the developer groups in our directory are a great place to ask.

FAQ

Is creating a bot free?

Yes. Creating bots with BotFather is free.

How many bots can I create?

You can create several bots with the same account, each with its own token.

Read more about BotFather.

Perhaps you could like:

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *