# Telegram Chatbot

Want to check out a cool video instead?

{% embed url="<https://youtu.be/cG_BmXWhHTc>" %}

Select the \`Telegram Chatbot\` tab while selecting the Chatbot platform.

<figure><img src="/files/JvCCNtyu4qGRDn8Exvei" alt=""><figcaption><p>choose platform</p></figcaption></figure>

a. You will be asked to enter a phone number which is connected with telegram.

b. You will receive a \`Login code\` in your Telegram account. Enter the Login Code

here and click to login to your Telegram Account.

<figure><img src="/files/ie8kcJ53r8cUA2xNqj0y" alt=""><figcaption></figcaption></figure>

c. You may click to \`resend\` code in case you haven\`t received it. If still not received the

Login code, please verify the Telegram mobile number and re-enter it by clicking

\`Change number\`.

### Manually Connect Your Bot

1. Enter the Bot name which you want to connect.
2. Enter the Bot user name which you want to connect
3. Enter the Bot Authentication Token recieved on telegram from "BotFather".
4. Click on Connect Bot.

<figure><img src="/files/BvvDcx9cs5X5v8urXP2f" alt=""><figcaption></figcaption></figure>

### Create Your Bot <a href="#d260crxnv3hx" id="d260crxnv3hx"></a>

a. You may choose an existing Telegram bot to connect with BotPenguin or you can select "manually connect to bot". Then enter :

* Name of your new bot
* Username. Username should end with \`bot\`. example: abc\_bot or abcbot.

<figure><img src="/files/pD4gY8ARZhzmvL1b9VIg" alt=""><figcaption></figcaption></figure>

b. Enter the details and click \`Connect\` and you will be directed to the dashboard section

where you can \`Edit your chat flow\` and \`Telegram Bot Settings\`.

### Edit Your Chat Flow <a href="#np04rhwyx5y5" id="np04rhwyx5y5"></a>

a. A chat flow is a structure of messages that determines how a conversation will take

place between your chatbot and the user. Click on the \`Edit Your Chat Flow\` tab to

customize your chat flow.

<figure><img src="/files/3ch4sO0guGY2p65qjBvA" alt=""><figcaption></figcaption></figure>

b. Here, you will find a pre-created template of a chat flow that you can customize as per

your business needs. It is very easy and quick to customize the chat flow. Here is the [Quick Guide on How to Edit Your Chat Flow](https://help.botpenguin.com/bots/telegram-bot/edit-and-manage-chatflow).

### Telegram Automation <a href="#ge6bstfezah8" id="ge6bstfezah8"></a>

Here you can configure automation settings for your telegram bot

### Chat Flows <a href="#i86hu1hbn6x7" id="i86hu1hbn6x7"></a>

Here, you can also create multiple chat flows from the \`Create flow\` option

by adding the name of the flow. Once a flow is added, it will be listed under \`Flow name\`.

This way you can add any number of flows.

![](/files/8A9wZwRPMnuMofq33IMq)

![](/files/xFYSSooFFmywzr16vrSu)

### Drip Campaigns <a href="#okllboilfm18" id="okllboilfm18"></a>

Drip Campaign is a scheduled and structured flow of messages

created for customer onboarding journeys. To create one, go to the \`Drip Campaigns\` tab and click \`Create Campaign\`. Here is the [Quick Guide on How to Create Drip](https://help.botpenguin.com/bots/telegram-bot/telegram-automation/drip-campaign-setup)

[Campaigns](https://help.botpenguin.com/botpenguin-resource-center/how-botpenguin-works/bot-settings/drip-campaigns).

![](/files/7lsnfPiCIdW61uVvDdlA)

![](/files/gQ7MgvS7mpeHvEAWclNR)

### Widgets <a href="#wz8mpkbvip7l" id="wz8mpkbvip7l"></a>

A Widget is a chat interface that can be installed in your website, ads, blogs or

any promotional content to route subscribers to your Chatbot. You can create multiple

widgets by following a few easy steps on the BotPenguin dashboard. To create one, go

to the \`Widgets\` tab in \`Bot Settings\` and click \`Create Widget\` on the extreme right. Here is the [Quick Guide on How to Create a Widget](https://help.botpenguin.com/bots/telegram-bot/telegram-automation/telegram-widgets)

![](/files/f1zThD5JpUT8SuYlJcWD)

![](/files/1TfEHMXMdhVXFyBPVl32) ![](/files/QYmNKw641M5HGbGvCQKd)

### Broadcast <a href="#id-3hgb7fwum0kf" id="id-3hgb7fwum0kf"></a>

A Broadcast is a chat flow or a message that can be blasted in one click, to

the targeted segment or group of contacts. To create one, go to the \`Broadcast\` tab in

the \`Bot Settings\` and click the \`Create New Broadcast\` on the extreme right.

Here is the [Tutorial for Creating a Broadcast](https://help.botpenguin.com/bots/telegram-bot/telegram-automation/telegram-broadcast-feature).

![](/files/doUgdgXuLAd5SXF6myVU)

![](/files/VuNAKd3Iageb1d6DjE5K)

![](/files/axtvuuxGeecLEKSjh25L)

#### Need Help?

Please feel free to reach out to us at <mark style="color:$primary;"><support@botpenguin.com></mark>, in case of any questions or concerns.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://partners.botpenguin.com/customer-platform-guidelines/new-bot-setup/telegram-chatbot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
