加入我们的 Telegram 社群 (clawdbotCN) 学习分享和了解更多 →
en
Channels
Overview

Channel Integration Overview

Clawdbot integrates with multiple messaging platforms through its Gateway, allowing you to manage all AI assistant interactions in one place.

Supported Channels

Clawdbot supports 20+ messaging platforms:

ChannelProtocol/LibraryStatus
WhatsAppBaileys✅ Fully Supported
TelegramgrammY✅ Fully Supported
Discorddiscord.js✅ Fully Supported
SlackBolt SDK✅ Fully Supported
Signalsignal-cli✅ Fully Supported
iMessageimsg (macOS)✅ Fully Supported
Matrixmatrix-js-sdk✅ Fully Supported
MattermostPlugin✅ Fully Supported
Google ChatAPI✅ Fully Supported
Microsoft TeamsBot Framework✅ Fully Supported

Quick Configuration

Enable Channels

Run the setup wizard to select channels:

clawdbot onboard

Or edit configuration manually:

{
  channels: {
    whatsapp: { enabled: true },
    telegram: { enabled: true },
    discord: { enabled: true }
  }
}

Channel Login

# Login to WhatsApp (scan QR code)
clawdbot channels login whatsapp
 
# Login to Telegram (enter Bot Token)
clawdbot channels login telegram
 
# Login to Discord (enter Bot Token)
clawdbot channels login discord

Common Configuration Options

All channels share these configuration options:

DM Policy (dmPolicy)

{
  channels: {
    whatsapp: {
      // Pairing mode - unknown users need pairing code
      dmPolicy: "pairing",
 
      // Allowlist mode - only listed users allowed
      dmPolicy: "allowlist",
      allowFrom: ["+15551234567"],
 
      // Open mode - allow all users
      dmPolicy: "open",
 
      // Disabled - don't process DMs
      dmPolicy: "disabled"
    }
  }
}

Group Policy (groupPolicy)

{
  channels: {
    telegram: {
      // Open - process all group messages
      groupPolicy: "open",
 
      // Allowlist - only process specified groups
      groupPolicy: "allowlist",
      allowGroups: ["123456789"],
 
      // Disabled
      groupPolicy: "disabled"
    }
  }
}

Mention Requirement (requireMention)

{
  channels: {
    discord: {
      groups: {
        "*": {
          // Require @mention to respond
          requireMention: true
        }
      }
    }
  }
}

Channel Feature Comparison

FeatureWhatsAppTelegramDiscordSlack
Streaming
Reactions
Edit Messages
Inline Buttons
Voice Notes
File Sharing

Multi-Channel Operation

Channels can run simultaneously:

{
  channels: {
    whatsapp: { enabled: true },
    telegram: { enabled: true },
    discord: { enabled: true },
    slack: { enabled: true }
  }
}

Clawdbot automatically routes messages based on each chat's origin.

Channel Status Check

# View all channel status
clawdbot channels status
 
# View specific channel
clawdbot channels status whatsapp

Troubleshooting

Common Issues

  1. Connection Failed: Check network and authentication credentials
  2. Messages Not Responding: Confirm DM/group policy is configured correctly
  3. Permission Issues: Check Bot permission settings

Diagnostic Commands

# Run diagnostics
clawdbot doctor
 
# View logs
clawdbot logs --channel whatsapp --follow

Next Steps

Choose the channel you want to configure: