---
title: "How to Create an AI Chatbot for Telegram in 5 Minutes"
pubDate: 2022-01-27
upDate: 2026-06-22
description: "Launch your own AI chatbot on Telegram in minutes — no coding needed. Follow this step-by-step guide to automate conversations and support."
author:
  name: "Piotr Grudzień"
  image: "/blog-assets/authors/piotr_grudzien.jpg"
image:
  url: "/blog-assets/posts/telegramAI_bg.png"
  alt: "Background image for How to create an AI Chatbot for Telegram in 5 minutes"
tags: ["tutorials"]
telegramBrand: true
---

Customers messaging you on Telegram? You might want to create a Telegram AI
chatbot to streamline customer inquiries and boost your response rates.

<iframe width="560" height="315" src="https://www.youtube.com/embed/N1QkRTp_ec0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

Luckily, it takes about 5 minutes to do so.

## How to create a chatbot in Telegram?

I'll head to the Quickchat AI app to show you how to create a chatbot in
Telegram, step by step.

Imagine that I work for an online Apple reseller, MacShop, and need an AI
Assistant to provide information about Apple products and promotional
discounts. I called it Helpful Macintosh, and I can customize far more than
its name.

![AI description in Quickchat AI](../../assets/blog/posts/telegramAI/telegramAI_img1.png)

## Customize your Telegram AI chatbot

In this case, I'd like Helpful Macintosh to use emojis and be knowledgeable
about different Macbooks and iPhones.

I'd also like it to be witty, so I'll change the _AI Personality_ from
_Classic_ (which is a standard setup) to _Humorous_.

![AI Personality selection in Quickchat AI](../../assets/blog/posts/telegramAI/telegramAI_img2.png)

And since it's a sales AI Agent, I want to specify the _AI Profession_ as
a _Shopping Assistant_.

![AI Profession selection](../../assets/blog/posts/telegramAI/telegramAI_img3.png)

Heads up: Helpful Macintosh doesn't need much more customization at this
point, but there are numerous ways to [customize your AI Agent](https://www.quickchat.ai/post/how-to-make-an-ai-chatbot-for-customer-support-in-15-minutes) with Quickchat AI.

## Enable the integration in the Quickchat AI interface

Once I have the AI chatbot figured out, it's time to enable the Quickchat AI-
Telegram integration.

Go to the _External Apps_ tab, click the Telegram tile and simply click the
switch to enable the integration.

![Enable Telegram integration in Quickchat AI](../../assets/blog/posts/telegramAI/telegramAI_img4.png)

Done! I'll navigate to Telegram now to finish the setup.

## Create a new bot using BotFather in Telegram

I'll search for BotFather in Telegram's _Contacts and Chats_, click on it,
and then click _Start_.

![Starting BotFather in Telegram](../../assets/blog/posts/telegramAI/telegramAI_img5.png)

This is how Telegram enables integrating bots into its system — as you can
see, it's pretty straightforward. All I need to do is select the command
"/newbot" and then choose a name.

![Creating a new bot in Telegram](../../assets/blog/posts/telegramAI/telegramAI_img6.png)

## Paste the API key from BotFather into the Quickchat AI app

Alright, so now BotFather generated an API key, which is exactly what I
wanted.

![API key generated by BotFather](../../assets/blog/posts/telegramAI/telegramAI_img7.png)

I have to copy and paste the API key into the Telegram integration in the
Quickchat AI's interface.

![Pasting API key into Quickchat AI](../../assets/blog/posts/telegramAI/telegramAI_img8.png)

It's saved now, so even if I close and reopen this window, the API key will
still be there. This means that I can test the integration out!

## Test the Telegram AI chatbot

I have the link to the bot and can start a new conversation right away.

Keep in mind: In Telegram, there's only one conversation thread per user.
Basically, every user (or rather every phone number) associated with a
Telegram account is going to have one, ongoing conversation. It's similar to
the way that WhatsApp or Messenger messages are set up.

I say "Hey hello", and immediately see that Helpful Mac is typing back, which
is a good sign — it means that the integration is working.

![Starting a conversation with the AI bot](../../assets/blog/posts/telegramAI/telegramAI_img9.png)

Helpful Macintosh is responsive, so we can just keep going.

"Hey, I want to buy a MacBook."

![Asking about buying a MacBook](../../assets/blog/posts/telegramAI/telegramAI_img10.png)

Hint: If you want to debug it a little further, head to _Inbox_ where you can
find your Telegram conversations.

![Viewing conversation in the Quickchat interface](../../assets/blog/posts/telegramAI/telegramAI_img11.png)

## Your Telegram AI chatbot is ready

That's all! This is how you integrate Quickchat AI with Telegram. So let's
just quickly recap:

1. Customize your Telegram AI chatbot.
2. Enable the integration in Quickchat AI.
3. Go to BotFather and create a new bot.
4. Paste the API key that the BotFather generated into the Quickchat AI app.
5. Start a conversation to test the integration.

[Go ahead and integrate Quickchat AI](https://quickchat.ai/telegram) with Telegram
to try it out yourself!

**Next step:** once your bot is answering questions, give it admin powers. See [how to build an AI Telegram bot that manages your group](https://quickchat.ai/post/connect-ai-agent-to-telegram-bot-api), so it can post and pin announcements and mute or ban members from plain language.
