Bot Setup
This section contains a tutorial on how to create a Telegram Chatbot, edit the bot's chat flow and bot's settings.
What is a Telegram Chatbot?
A Telegram Chatbot is an automated messaging solution integrated directly with your Telegram account. It allows you to respond to customer queries and messages instantly, and helps you deliver consistent, personalized engagement at any scale β without requiring a live agent for every interaction.
When Should You Use This?
Use this feature when:
You want to provide 24/7 automated customer support on Telegram without human intervention.
You need to engage your audience in real time with personalised messages, promotions, or updates.
You are trying to generate leads by capturing visitor information directly through Telegram conversations.
You want to handle multiple conversations simultaneously at scale.
You already have a Telegram bot created via BotFather and want to connect it directly using its authentication token.
Benefits of the Telegram Chatbot
π Delivers round-the-clock customer support β your bot never sleeps.
β±οΈ Reduces time spent on repetitive queries by automating standard responses.
π― Improves lead generation by capturing contact details within the conversation flow.
π Ensures consistent messaging across all Telegram interactions.
π Enhances overall audience engagement through real-time, personalised replies.
Expected Outcome
After setting this up:
Your Telegram account will automatically respond to messages in real time.
You will notice a significant reduction in manual effort for routine customer interactions.
Users will experience faster, more consistent replies β improving overall satisfaction.
Tip: Once connected, your chatbot will begin responding based on your configured flows immediately. Make sure your flows are tested before going live.
How to Create Your Telegram Chatbot
Navigate to your BotPenguin dashboard and click "Create New Bot".

Select "Telegram" as your platform from the available options.

Select the primary business goal / use case for your Telegram chatbot, and proceed.

The chatflow canvas will load. In the topβright corner of the canvas, click the "Connect" button to begin linking your Telegram account.

On the "Connect with Telegram" screen, choose one of the two connection methods:
Connect Manually with Bot Token β for users who have already created a bot on Telegram via BotFather and already have a bot token.
Connect Directly with Phone Number β for users connecting a Telegram bot for the first time.

Option A: Connect Manually with Bot Token
Enter the following three details:
Bot Name β the name of the bot you want to connect.
Bot Username β the username of the bot you want to connect.
Bot Authentication Token β the token received from BotFather on Telegram.

Click "Connect Bot".
Note: Use this method only if you have previously created a Telegram bot using BotFather and already have its authentication token on hand.
Option B: Connect Directly with Phone Number
On the "Connect with Telegram" screen, enter your phone number and click "Submit".

On the "Login to your Telegram account" screen, enter the verification code you receive on your Telegram account. If your account has Two-Factor Authentication enabled, you will also be prompted to enter your Two-Factor Password.

Click "Create Bot".
From the dropdown, choose one of the following:
Make a New Bot β this phone number will be used to create a new Telegram chatbot. Enter the:
Telegram Bot Name
Telegram Bot Username
Select an Existing Bot β choose one of the existing bots already associated with this phone number. BotPenguin will attempt to connect directly with that bot.

Click "Submit".
Finishing Up (Both Options)
You will see a "Connecting your account" loading screen while BotPenguin links your Telegram account.

Once complete, you'll see confirmation that your Telegram account has been successfully connected to your chatbot.
π Your Telegram Chatbot is now connected and ready to configure!
Best Practices
π‘ Use clear and concise flow names to make it easier to manage multiple bots and automations.
π Regularly review your chatbot analytics and update your flows based on drop-off points or unanswered queries.
π― Align your Telegram bot's tone and messaging with your overall brand voice for a consistent customer experience.
π If you already have a bot token from BotFather, use the "Connect Manually with Bot Token" option to skip the phone verification steps entirely.
Troubleshooting
I didn't receive the verification code on Telegram.
Solution: Double-check that the phone number entered matches the one linked to your Telegram account. Use the "Change number" or "Resend" option on the login screen to request a new code.
I don't see the option to select an existing bot.
Solution: This option only appears if there are bots already associated with the phone number you entered. If this is your first bot on that number, select "Create a New Bot" instead.
The Bot Authentication Token isn't being accepted.
Solution: Make sure you're copying the full token exactly as provided by BotFather, with no extra spaces. If the token was regenerated in BotFather, request a fresh token via the /token command and try again.
Bot was connected but has stopped responding.
Solution: Your bot's authentication token or session may have expired. Go to your BotPenguin dashboard, navigate to the Telegram integration settings, and reconnect your account to refresh the connection.
FAQs
What are the two ways to connect a Telegram bot?
You can either:
Connect Directly with a Phone Number (recommended for first-time users), or
Connect Manually with a Bot Token (for users who already have a bot created via BotFather).
Do I need a BotFather token to connect my Telegram bot?
Only if you choose the "Connect Manually with Bot Token" option. If you connect directly with your phone number and create a new bot, BotPenguin handles bot creation for you β no separate BotFather token is required upfront.
What happens if I select an existing bot instead of creating a new one?
BotPenguin will attempt to connect directly to that existing bot rather than creating a new one, using the phone number you verified.
What is the Two-Factor Password step for?
If your Telegram account has Two-Factor Authentication enabled, Telegram requires this password in addition to the verification code as an extra layer of security before allowing the login.
Where do I find my Telegram Bot Authentication Token?
Open a chat with BotFather on Telegram, use the /mybots command (or create a new bot with /newbot), and copy the token it provides.
How many Telegram accounts can I connect to BotPenguin?
The number of accounts you can connect depends on your BotPenguin subscription plan. Check your plan details on the BotPenguin pricing page or reach out to support@botpenguin.com for specifics.
Related Articles
Edit and Manage ChatflowAI Settings (Legacy)Telegram AutomationTelegram Chatbot SettingsTrain Your AI Chatbot3rd Party Apps IntegrationsIf you still have some questions for our team, write to us at support@botpenguin.com. We will respond back within 48 business hours.
Last updated
Was this helpful?