openclaw/extensions/wecom/README.md
YanHaidao a3799c7748 - Add WeCom channel plugin for Clawdbot (popular in China)
- Add channel documentation (EN + 中文) and plugin README
- Link WeCom from channels index
- 新增 WeCom 渠道插件(国内常用)
- 新增频道文档(英文 + 中文)与插件 README
- 在 Channels 索引中加入 WeCom 入口
2026-01-27 11:45:52 +08:00

2.1 KiB
Raw Blame History

WeCom (WeChat Work) Channel Plugin for Clawdbot

Maintainer: YanHaidao (VX: YanHaidao)

Status: WeCom intelligent bot (API mode) via encrypted webhooks + passive replies (stream).

Install

Option A: Install from npm

clawdbot plugins install @clawdbot/wecom
clawdbot plugins enable wecom
clawdbot gateway restart
clawdbot plugins install --link extensions/wecom
clawdbot plugins enable wecom
clawdbot gateway restart

Configure

{
  channels: {
    wecom: {
      enabled: true,
      webhookPath: "/wecom",
      token: "YOUR_TOKEN",
      encodingAESKey: "YOUR_ENCODING_AES_KEY",
      receiveId: "",
      dm: { policy: "pairing" }
    }
  }
}

Notes

  • Webhooks require public HTTPS. For security, only expose the /wecom path to the internet.
  • Stream behavior: the first reply may be a minimal placeholder; WeCom will call back with msgtype=stream to refresh and fetch the full content.
  • Limitations: passive replies only; standalone send is not supported.

Clawdbot 企业微信WeComChannel 插件

维护者YanHaidaoVXYanHaidao

状态支持企业微信智能机器人API 模式)加密回调 + 被动回复stream

安装

方式 A从 npm 安装

clawdbot plugins install @clawdbot/wecom
clawdbot plugins enable wecom
clawdbot gateway restart
clawdbot plugins install --link extensions/wecom
clawdbot plugins enable wecom
clawdbot gateway restart

配置

{
  channels: {
    wecom: {
      enabled: true,
      webhookPath: "/wecom",
      token: "YOUR_TOKEN",
      encodingAESKey: "YOUR_ENCODING_AES_KEY",
      receiveId: "",
      dm: { policy: "pairing" }
    }
  }
}

说明

  • webhook 必须是公网 HTTPS。出于安全考虑建议只对外暴露 /wecom 路径。
  • stream 模式:第一次回包可能是占位符;随后 WeCom 会以 msgtype=stream 回调刷新拉取完整内容。
  • 限制:仅支持被动回复,不支持脱离回调的主动发送。