Connecting Telegram
Connecting Telegram
Section titled “Connecting Telegram”Connect a Telegram bot to Plugy in 3 minutes.
Prerequisites
Section titled “Prerequisites”- A Plugy account at my.plugy.me
- A Telegram account
- Access to @BotFather on Telegram
Step 1: Create a Telegram Bot
Section titled “Step 1: Create a Telegram Bot”- Open Telegram and search for @BotFather
- Send
/newbot - Choose a name for your bot (e.g., “My Company Support”)
- Choose a username (must end in
bot, e.g.,mycompany_support_bot) - Copy the bot token — you’ll need it next
Step 2: Add Token to Plugy
Section titled “Step 2: Add Token to Plugy”- Open your project in my.plugy.me
- Go to Settings > Channels
- Click Add Channel > Telegram
- Paste your bot token
- Click Connect
Plugy automatically sets up the webhook. Your bot is now live!
Step 3: Test
Section titled “Step 3: Test”Send a message to your Telegram bot. It should respond using your project’s knowledge base and rules.
Supported Message Types
Section titled “Supported Message Types”- Text — Standard text messages
- Photos — Image analysis via AI vision
- Voice — Automatic speech-to-text transcription
- Inline buttons — Interactive keyboard callbacks
Troubleshooting
Section titled “Troubleshooting”Bot not responding?
- Verify the bot token is correct
- Make sure the channel is enabled in project settings
- Check that your project has a knowledge base configured
Webhook errors?
- Ensure the bot token hasn’t been regenerated in @BotFather
- Try disconnecting and reconnecting the channel