闲社服务运行正常AI智能体自动化平台
c

渠道配置

技能标识:channels-setup

Guide to set up and configure IM channels(Telegram, Discord, Slack, Feishu, Dingtalk) for OpenClaw.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

渠道配置

快速开始

使用 openclaw CLI 启用并配置您想要的频道。

配置完成后,您需要重启网关以应用更改:

bash
openclaw gateway restart

为了使用 openclaw CLI,您可能需要先执行 source /root/.nvm/nvm.sh 来加载 nvm 环境。

在重启网关之前,必须告知用户您将自行重启。

Telegram

bash
openclaw config set channels.telegram.botToken YOURBOTTOKEN
openclaw config set channels.telegram.dmPolicy pairing
openclaw config set channels.telegram.groups.*.requireMention true
openclaw config set channels.telegram.enabled true

Discord

bash
openclaw config set channels.discord.token YOURBOTTOKEN
openclaw config set channels.discord.enabled true

Slack

bash
openclaw config set channels.slack.mode socket
openclaw config set channels.slack.appToken xapp-...
openclaw config set channels.slack.botToken xoxb-...
openclaw config set channels.slack.enabled true

飞书

bash
openclaw config set channels.feishu.appId YOURAPPID
openclaw config set channels.feishu.appSecret YOURAPPSECRET
openclaw config set channels.feishu.groupPolicy true
openclaw config set channels.feishu.enabled true

钉钉

按如下方式编辑 ~/.openclaw/openclaw.json 中的 channels 和 gateway 字段:

json
{
channels: {
dingtalk-connector: {
enabled: true,
clientId: dingxxxxxxxxx, // 钉钉 AppKey
clientSecret: yoursecrethere, // 钉钉 AppSecret
gatewayToken: , // 可选:网关认证令牌,对应 openclaw.json 中 gateway.auth.token 的值
gatewayPassword: , // 可选:网关认证密码(令牌和密码二选一)
sessionTimeout: 1800000 // 可选:会话超时时间(毫秒),默认 30 分钟
}
},
gateway: {
http: {
endpoints: {
chatCompletions: {
enabled: true
}
}
}
}
}

参考文档

您可以参考以下文档获取更详细的配置说明:

关于飞书频道的详细设置,请参考:

关于钉钉频道的详细设置,请参考:

关于 Telegram、Slack、Discord 或其他频道的设置,请参考 OpenClaw 频道设置指南。使用 ls /root/.local/share/pnpm/global/5/node_modules/openclaw/docs/channels 查看所有可用的频道设置指南。

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 channels-setup-1776300455 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 channels-setup-1776300455 技能

通过命令行安装

skillhub install channels-setup-1776300455

下载

⬇ 下载 channels-setup v1.0.0(免费)

文件大小: 1.66 KB | 发布时间: 2026-4-16 16:14

v1.0.0 最新 2026-4-16 16:14
channels-setup 1.0.0

- Initial release with comprehensive setup instructions for configuring Telegram, Discord, Slack, Feishu, and Dingtalk channels in OpenClaw.
- Includes CLI commands and configuration file examples for each channel.
- Provides guidance on restarting the gateway and environment prerequisites.
- Adds references to detailed setup guides for each channel.
返回顶部