1️⃣How to create a chatbot in Telegram

Step-by-step tutorial for creating a chatbot in the Telegram messenger


1. Creating a chatbot

Start the @BotFather bot with the /start command (or button) and select the /newbot command:

Note: If you lose access to the phone number you use to create the bot, you will permanently lose access to control the bot via @BotFather without the possibility of recovery.


Give your bot a name and username.

It is important that the username of the bot has the ending Bot or _bot.

What is the difference between a name and a username? The username works as a link to go to the bot.

Note: Unlike the bot name, you will not be able to edit the username in the future!


Next, you will receive an API token:

Click on the text from the API, it will be automatically copied.


2. Chatbot integration with #jedidesk

On the #jedidesk service, open the Settings -> Integrations tab, paste the copied API token and click Activate:


3. Design of the chatbot: profile picture

Come back to @BotFather and keep filling your bot.

To upload a profile picture to your bot, enter the /setuserpic command.

Select your bot from the list and send the image as a regular photo:

Tip: to preserve aesthetics and proportions, it is advisable to upload images with a 1:1 (square) ratio, as Telegram will crop rectangular images and you may lose part of the composition or the information indicated on the image.


4. Design of the chatbot: bot description

To add a description to your bot, enter the /setabouttext command.

Select your bot from the list and send your text as a regular message:


5. Result

Last updated