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:

Launching @BotFather
@BotFather's menu

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.


Next, you will receive an API token:

Creating a chatbot in Telegram

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:

Chatbot integration with #jedidesk

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:

Chatbot avatar settings in Telegram

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:

Setting the description of the chatbot in Telegram

5. Result

Profile of a finished chatbot in Telegram

Last updated