Skip to main content

Chat Channels Overview

SuprClaw connects to messaging platforms via the gateway. Start it with:

suprclaw gateway

All webhook-based channels share a single HTTP server at gateway.host:gateway.port (default 127.0.0.1:18790).

Available Channels

ChannelDifficultyNotes
Supr WebSocket (Web UI)EasyNative web chat protocol used by the launcher/web console
TelegramEasyJust a bot token
DiscordEasyBot token + message intent
WhatsAppEasyQR scan (native) or bridge
MatrixMediumHomeserver + access token
LINEMediumCredentials + webhook URL (needs HTTPS)

Channel Config Structure

All channels go under the channels key in config.json:

{
"channels": {
"telegram": { ... },
"discord": { ... },
"whatsapp": { ... },
"matrix": { ... },
"line": { ... }
}
}

Common Channel Options

Most channels support these fields:

FieldDescription
enabledEnable/disable the channel
allow_fromWhitelist of user IDs that can interact with the bot
group_triggerControl how the bot responds in group chats
placeholderShow a "Thinking..." message while the agent works

Allow List

Restrict who can use the bot:

{
"channels": {
"telegram": {
"allow_from": ["123456789", "987654321"]
}
}
}

Leave as [] to allow everyone (not recommended for public bots).

Group Trigger

Control responses in group chats:

{
"channels": {
"discord": {
"group_trigger": {
"mention_only": true
}
}
}
}

Webhook Setup

Webhook channels (Telegram, LINE) require the gateway to be reachable from the internet.

Options:

  • Reverse proxy (nginx, Caddy)
  • Tunnel (ngrok, Cloudflare Tunnel)
  • Public VPS

Telegram also supports polling mode — no public URL needed.