Connect Telegram to PishDast
Connect a Telegram bot to receive and manage customer messages directly in PishDast.
How It Works
PishDast connects to Telegram through a bot. When customers message your bot, you'll see their messages in your PishDast inbox and can reply from there.
Prerequisites
You'll need:
- A Telegram account
- Access to @BotFather on Telegram
Step-by-Step Guide
Step 1: Create a Bot with BotFather
- Open Telegram and search for @BotFather
- Start a chat and send
/newbot - Follow the prompts:
- Enter a name for your bot (e.g., "My Shop Support")
- Enter a username ending in
bot(e.g.,myshop_support_bot)
- BotFather will give you an API Token - copy this!
Step 2: Add Bot Token to PishDast
- Go to your PishDast dashboard
- Navigate to Settings > Channels
- Click Connect Telegram
- Paste your bot token
- Click Connect
Step 3: Verify Connection
Once connected, you'll see:
- Bot username and name
- Connection status: Active
- Webhook URL (automatically configured)
Step 4: Test Your Bot
- Find your bot on Telegram (search for its username)
- Send it a message
- Check your PishDast inbox - the message should appear!
Customizing Your Bot
Set Bot Profile Picture
- Message @BotFather
- Send
/setuserpic - Select your bot
- Send the image you want to use
Set Bot Description
- Message @BotFather
- Send
/setdescription - Select your bot
- Enter the description users see when they start chatting
Set Bot Commands
- Message @BotFather
- Send
/setcommands - Select your bot
- Add commands like:
start - Start conversation help - Get help catalog - View products
Advanced Features
Multiple Bots
You can connect multiple Telegram bots to the same workspace - useful if you have different bots for different purposes.
Bot Groups
PishDast can also receive messages from groups where your bot is a member. Enable "Group Privacy Mode" in BotFather if needed.
Troubleshooting
"Invalid token"
- Make sure you copied the full token from BotFather
- Tokens look like:
123456789:ABCdefGHIjklMNOpqrsTUVwxyz
Messages not appearing
- Check that the bot is connected in Settings > Channels
- Verify webhook status is "Active"
- Make sure the bot hasn't been blocked or deleted
"Bot already in use"
Each bot can only be connected to one PishDast workspace. Create a new bot with BotFather if needed.
What's Next?
With Telegram connected:
- Create automations for auto-replies
- Set up Quick Replies for common responses
- Manage all messages in your unified Inbox