Telegram
Instant messaging with bot commands and inline responses.Setup
Create Bot
Features
- Markdown message formatting
- Automatic message splitting (4,096 char limit)
- Webhook signature verification
- Edit message support
- Chat ID-based agent routing
Implementation
Source:src/channels/telegram.ts:1
Discord
Community chat and gaming server integration.Setup
Create Application
Go to Discord Developer Portal
- Create New Application
- Go to Bot tab
- Click “Add Bot”
- Copy bot token
Features
- Channel-based routing
- Bot mention filtering
- Message splitting (2,000 char limit)
- Embed support
src/channels/discord.ts:1
Slack
Enterprise team communication.Setup
Create Slack App
Go to api.slack.com/apps
- Create New App
- Choose “From scratch”
- Select workspace
Configure Bot
In App Settings:
- OAuth & Permissions → Add
chat:writescope - Event Subscriptions → Enable Events
- Subscribe to
message.channels - Set Request URL to
https://your-domain.com/webhook/slack/events
Features
- Thread-aware responses
- Signature verification with timing-safe comparison
- URL verification challenge handling
- Message splitting (4,000 char limit)
src/channels/slack.ts:1
Setup
Get API Access
Register for WhatsApp Business API
Features
- Business messaging API integration
- Template message support
- Message splitting (4,096 char limit)
- Media message handling
src/channels/whatsapp.ts:1
Microsoft Teams
Enterprise collaboration platform.Setup
Register Bot
Go to Azure Portal
- Create Azure Bot resource
- Note App ID and generate App Password
Features
- Bot Framework integration
- OAuth2 token refresh
- Conversation ID routing
- Reply threading
src/channels/teams.ts:1
Setup
Features
- Nodemailer integration
- Subject line handling
- Reply thread continuity
- HTML/plain text support
src/channels/email.ts:1
Google Chat
Google Workspace integration.Setup
Create Chat App
Go to Google Chat API Console
- Enable Google Chat API
- Create credentials
src/channels/google-chat.ts:1
Signal
Encrypted messaging.Setup
Requires signal-cli bridge.src/channels/signal.ts:1
Additional Messaging Platforms
IRC
Legacy chat networksSource:
src/channels/irc.ts:1Matrix
Decentralized chat protocolSource:
src/channels/matrix.ts:1XMPP
Open protocol messaging (Jabber)Source:
src/channels/xmpp.ts:1Viber
International messagingSource:
src/channels/viber.ts:1LINE
Asia-Pacific messagingSource:
src/channels/line.ts:1Messenger
Facebook Messenger integrationSource:
src/channels/messenger.ts:1Threema
Privacy-focused Swiss messagingSource:
src/channels/threema.ts:1Feishu/Lark
China enterprise marketSource:
src/channels/feishu.ts:1Multi-Platform Agent
Connect a single agent to multiple messaging platforms:Testing
Message Splitting Logic
All messaging adapters automatically split long responses:| Platform | Limit | Source |
|---|---|---|
| Telegram | 4,096 | telegram.ts:66 |
| Slack | 4,000 | slack.ts:65 |
| Discord | 2,000 | discord.ts:50 |
| 4,096 | whatsapp.ts:65 | |
| Teams | 4,096 | teams.ts:94 |
Security
Webhook Signature Verification
Telegram (telegram.ts:19):
slack.ts:32):
Audit Events
Every channel message emits an audit event:Next Steps
Social Media
Connect to Bluesky, Reddit, Twitch, LinkedIn
Custom Adapters
Build your own channel adapter