OCOpenCowork
Get startedInstallChannelsAgentsCapabilitiesSkillsModelsPlatformsOpsReferenceHelp

Channels

Connect OpenCowork to workplace and community messaging platforms.

Channels

OpenCowork 的消息平台插件运行在 Electron main process。每个平台插件都扩展 base-plugin-service.ts,负责登录、连接、收消息、发消息和生命周期管理。

Supported platforms

平台目录
飞书 / Feishusrc/main/channels/providers/feishu/
钉钉 / DingTalksrc/main/channels/providers/dingtalk/
企业微信 / WeComsrc/main/channels/providers/wecom/
QQsrc/main/channels/providers/qq/
Telegramsrc/main/channels/providers/telegram/
Discordsrc/main/channels/providers/discord/
微信个人号 / Weixinsrc/main/channels/providers/weixin/
WhatsAppsrc/main/channels/providers/whatsapp/

Lifecycle

Core contract

每个插件服务需要提供:

  • onStart():启动连接、登录或订阅事件。
  • onStop():停止连接并清理资源。
  • 消息发送方法:发送文本、图片、文件或平台特定卡片。
  • 状态管理:登录状态、连接状态、错误状态。

Choose a channel

On this page