openclaw-channel-openilink

March 22, 2026 · View on GitHub

OpenClaw channel plugin for WeChat messaging via OpenILink Hub.

Features

  • Receive WeChat messages in OpenClaw via OpenILink Hub
  • Send replies back through WeChat
  • WebSocket real-time message delivery with automatic reconnection
  • Message deduplication
  • Configurable DM policy (pairing / allowlist / open)

Requirements

  • OpenClaw >= 2026.2.13
  • An OpenILink Hub instance with a bound WeChat bot
  • A channel API key from the Hub dashboard

Installation

openclaw plugins install @openilink/openclaw-channel

Add the plugin to your allow list in ~/.openclaw/openclaw.json:

{
  "plugins": {
    "allow": ["@openilink/openclaw-channel"]
  }
}

Configuration

Run the interactive setup:

openclaw configure --section channels

Or manually edit ~/.openclaw/openclaw.json:

{
  "channels.openilink": {
    "hubUrl": "https://your-hub.example.com",
    "apiKey": "your-channel-api-key",
    "enabled": true,
    "dmPolicy": "pairing"
  }
}

Then restart the gateway:

openclaw gateway restart

Configuration Options

OptionRequiredDefaultDescription
hubUrlYesOpenILink Hub URL
apiKeyYesChannel API key from Hub dashboard
botIdNoautoBot ID (auto-detected from channel)
enabledNotrueEnable/disable the account
dmPolicyNopairingDM access policy: pairing, allowlist, or open
allowFromNo[]Allowed sender IDs (for allowlist policy)

Architecture

OpenClaw Gateway
    ↕ (plugin-sdk)
openclaw-channel-openilink
    ↕ (WebSocket + REST API)
OpenILink Hub
    ↕ (iLink SDK)
WeChat

License

MIT