How to create a bot in Telegram?

This lesson describes the process of creating a new Telegram bot. To begin with, the Telegram app must be installed on your device and you must be registered and authenticated in it. Next, you need to contact a special telegram bot: @BotFather.

Welcome window example from BotFather

To create a new chatbot, send it the following command:

/newbot

You will then be asked to come up with a name and login for your bot. Keep in mind that the login must be unique within the entire Telegram and must also end with "bot".

If you did everything right, Telegram will congratulate you on the successful registration of a new bot and give you a token key from it. The token looks like this:

1234567890:AsdkrvjnrnjGHjrvFFwbwvdwtvdw-Vcdcdc

Be sure to save this token, you will need it to further configure the bot. About which you can read in our next articles.

Go to the next lesson: Connecting a Telegram bot to the BotConstructor service and sending the first message.

Copyright © 2026, BotConstructor