integration

How to build an AI Chat Bot on Telegram - a story in 2 GIFs

Step by step guide on how to launch an AI chat bot on Telegram. It will take you 2 minutes!

How to build an AI Chat Bot on Telegram - a story in 2 GIFs

☝️ is what it’s going to look like once we’re finished.

In this guide, we’re going to follow 2 simple steps to create a smart conversational AI that anyone can talk to via Telegram:

  1. Create Telegram bot
  2. Configure your bot with Quickchat

1. Create Telegram bot

Telegram is one of the most popular messaging apps these days. Developer-friendly as they are, they created a tool called BotFather which makes the process of creating a Telegram bot very easy and fun.

Simply start a conversation with BotFather and say /newbot to create your bot. You will be prompted to provide bot’s name and unique username.

We will create a Telegram bot that is an expert on a fun game called 5D Chess with Multiverse Time Travel. To see how we created that AI chat bot using Quickchat, check out our video.

Take note of your bot’s URL and token

Take note of your bot’s URL and token

And that’s it! BotFather will return your bot token which we will use later and your bot URL.

You can use other commands such as /setuserpic or /setabouttext to customize your bot. Say /help to see a list of all commands you can send to BotFather.

2. Configure your bot with Quickchat

Now, head over to the Quickchat dashboard, activate your Telegram bot and paste your token.

Active your bot, provide bot token and welcome messages

Active your bot, provide bot token and welcome messages

Optionally, you can also set welcome messages to greet new users as in the example below.

And that’s it! 🎉 Your AI chat bot is ready to be tested on Telegram:

End goal - smart conversational AI that anyone can talk to via Telegram

End goal - smart conversational AI that anyone can talk to via Telegram

Share this article:

comments powered by Disqus