1️⃣How to create a chatbot in Telegram
Step-by-step tutorial for creating a chatbot in the Telegram messenger
Last updated
Step-by-step tutorial for creating a chatbot in the Telegram messenger
Last updated
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.
On the #jedidesk service, open the Settings -> Integrations tab, paste the copied API token and click Activate:
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.
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: