Telegram bot for business
authorKRIATIZ
01 · Basics / lesson 2 of 3

Creating a bot in BotFather

15 minBeginner5 steps

Any Telegram bot starts with BotFather, Telegram’s official bot for creating bots. In five minutes you will have a bot with a name, token, description, and menu.

data and requestsproblem
Lesson stepsstep 1 of 5
  1. /newbot
  2. Token
  3. Security
  4. Appearance
  5. Links
step 1 / 5how it works

Creating a bot

In @BotFather, use the /newbot command, then a name for customers and a username in Latin characters ending in bot.

Key point

A name with the business name and a benefit.

← → steps · space pause · R restart · ⌘K search
You will learn 9
Lesson notes

Step 1. Creation

  1. Find @BotFather in Telegram (with the blue checkmark) and tap “Start”.
  2. Send the command /newbot.
  3. Enter a name: clients see it, for example “Lumi Salon: booking”.
  4. Enter a username: in Latin letters, unique, must end with bot, for example lumi_booking_bot.
  5. BotFather will send a token: a string like 123456789:AA….

Token: the key to the bot

The token gives full control over the bot. Anyone who has it can read messages and write as the bot. Do not publish the token or send it in chats. Insert it only into a builder or service you trust.

If the token ended up in the wrong place, BotFather has the /revoke command: the old token will stop working, you will get a new one, and you will replace it in the builder.

Step 2. Setup

BotFather commandWhat it setsTip
/setuserpicavatara logo on a contrasting background, visible on a small screen
/setdescriptiontext before the first launchwhat the bot can do and what the client gets: “Booking with a specialist in 30 seconds”
/setabouttextshort description in the profileone sentence and the website
/setcommandscommand menu3-5 commands: /start, /price, /booking, /contacts

The same settings are available in the /mybots section as buttons, if it is easier without commands.

How to choose a name and username

  • A name with the business name and a benefit: “Lumi: booking and prices”.
  • A username that is short and clear: people type it and see it in the link t.me/username.
  • Do not use other people's brands and do not mislead: Telegram may block such a bot.

Bot link

The link https://t.me/lumi_booking_bot opens the bot. Add a start parameter to know where the client came from: t.me/lumi_booking_bot?start=instagram. Most builders show these tags in statistics.

What's next

The bot is empty right now: it does not reply to messages. To make it “come alive”, the token is connected to a builder or to code on a server. First we will think through the scenario (lesson 3), then we will choose the tool (lesson 4).

Who manages the bot in the team

The bot belongs to the Telegram account from which it was created in BotFather. Create the bot from the business owner's account, not from the personal account of a contractor or employee who may leave. If someone else has already created the bot, BotFather has a function to transfer the bot to another owner.

  • Store the token in the company's password manager.
  • Grant access to the builder by roles: editing the scenario separately from viewing requests.
  • When changing contractors, reissue the token with the /revoke command.

Setup checklist

ElementGoodBad
Name“Lumi: booking and prices”“Bot123”
Description“Booking with a specialist in 30 seconds, prices and address”“Welcome to our bot”
Avatara logo on a contrasting backgroundsmall text that cannot be read
Menu3-5 commands with verbs15 commands that no one remembers

First check

Open the bot from another phone as a new client. Check that the description explains the benefit, the avatar is visible, and the menu opens. Ask a friend to find the bot by the link and say what they expect from it. If the expectations do not match what the bot can do, change the description.

Add the bot link to your email signature and Instagram header right after setup. Even an empty bot with a good description will start collecting its first subscribers, whom you will message when you launch the scenario.

Today's task

Create a bot, set the name, username, avatar, description, and 3-4 menu commands. Save the token in the password manager.

Don't want to deal with the settings?

I will build and design the bot, connect the scenario and notifications in a few days.

Order a bot
Vladyslav Koshelyev
Vladyslav Koshelyev

Developer at KRIATIZ. I build chatbots, websites and automation for businesses. Author of the course.

About the author · Telegram