Skip to main content
Channels connect your bots to messaging platforms like Telegram, Slack, Discord, and WhatsApp. Each channel represents a platform-specific configuration that routes messages to and from your bot.
Channels overview

Overview

A channel is:
  • Platform Connection: Link to Telegram, Slack, Discord, etc.
  • Webhook Handler: Receives incoming messages from the platform
  • Message Sender: Sends bot responses back to users
  • Configuration: Platform-specific credentials and settings

Supported Platforms

Telegram

Bot API with native typing indicators

Slack

Workspace integration with thread support

Discord

Guild bots with slash commands (coming soon)

WhatsApp

Business API integration (coming soon)

Creating a Channel

1

Choose Platform

Decide which messaging platform to connect.
2

Create Bot/App

Create a bot or app on the platform:
3

Get Credentials

Copy the required credentials:
  • Telegram: Bot token
  • Slack: Bot token + signing secret
  • Discord: Bot token + application ID
4

Configure in Platform

Create the channel in Chatbot Platform and enter credentials.
5

Test

Send a test message to verify the connection works.

Channel Features

Platform-Specific Capabilities

Different platforms support different features:
FeatureTelegramSlackDiscord*WhatsApp*
Typing IndicatorsNativeNativeNativeNative
Thread SupportNoYesYesNo
Group ChatsYesYesYesYes
Media MessagesYesYesYesYes
Buttons/ActionsYesYesYesYes
*Coming soon

Webhook Management

Channels use webhooks to receive messages:
  1. Platform Sends Message: User sends message on platform
  2. Webhook Receives: Platform forwards to Chatbot Platform webhook
  3. Bot Processes: Bot handles message and generates response
  4. Response Sent: Bot sends reply back through platform API
Webhooks are configured automatically when you create a channel.

Multi-Channel Bots

A single bot can connect to multiple channels:
Bot: "Customer Support Bot"
  ├─ Channel: Telegram
  ├─ Channel: Slack
  └─ Channel: Discord
Benefits:
  • Unified bot logic across platforms
  • Single integration configuration
  • Centralized management
  • Consistent user experience
Each channel maintains separate conversations and context.

Channel Settings

Configure these per channel:
SettingDescriptionDefault
PlatformTelegram, Slack, Discord, etc.Required
CredentialsAPI tokens and keysRequired
Webhook URLAuto-generated by platformAuto
StatusActive or disabledActive

Testing Channels

After setting up a channel:
1

Verify Connection

Check that channel status shows “Connected” or “Active”.
2

Send Test Message

Send a message to the bot on the platform.
3

Check Response

Verify the bot responds correctly.
4

Review Logs

Check conversation history to see the message was received.

Troubleshooting

Channel Not Receiving Messages

Check:
  • Webhook URL is correctly configured on platform
  • Bot/app has required permissions
  • Platform credentials are valid
  • Channel is enabled (not disabled)

Bot Not Responding

Check:
  • Bot has active integration
  • Integration is working (test manually)
  • No timeout errors in logs
  • Bot is connected to correct channel

Webhook Errors

Common Issues:
  • Invalid signature (Slack)
  • Webhook URL changed
  • SSL certificate issues
  • Firewall blocking requests

Security

Chatbot Platform validates all incoming webhook requests using platform-specific verification methods.

Platform Verification

Telegram: Bot token validation Slack: Request signature verification Discord: Application verification This ensures only legitimate requests from the platform are processed.

API Access

Manage channels programmatically using the API.
curl -X POST https://api.chatbotplatform.io/v1/bots/bot_123/channels \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "telegram",
    "credentials": {
      "bot_token": "123456789:ABCdefGHIjklMNOpqrsTUVwxyz"
    }
  }'
curl https://api.chatbotplatform.io/v1/bots/bot_123/channels \
  -H "Authorization: Bearer YOUR_API_KEY"
curl -X DELETE https://api.chatbotplatform.io/v1/channels/ch_123 \
  -H "Authorization: Bearer YOUR_API_KEY"

Complete API Reference

View the full API specification with all endpoints, parameters, and response schemas.

Next Steps

Telegram Setup

Connect to Telegram

Slack Setup

Integrate with Slack workspaces