本页内容

本页内容

主流消息传递

Slack

Slack 支持涵盖通过 Slack 应用程序集成的 DM 和渠道。默认传输是套接字模式。还支持 HTTP 请求 URL。中继模式适用于受信任路由器拥有 Slack 入口的托管部署。

每页涵盖的内容

H乱七八糟

使用单独的 Slack 会话插件 将客服人员呼叫到活动会话中。它在 OpenClaw Chrome 配置文件中驱动 Slack,并作为专用 Slack 用户帐户登录。 Slack 应用程序和机器人令牌无法加入群组或读取其音频。

各部分移动的地方

先前单页版本的每个部分标题都保留其锚点,因此现有链接(例如 /channels/slack#text-streaming)仍然可以解析。每个条目都指向现在保存内容的页面。

配置参考

主要参考:配置参考 - Slack。

高信号 Slack 字段
  • mode/auth: postAs, mode, botToken, appToken, userToken, signingSecret, webhookPath, accounts.*
  • DM 访问:dm.enabled、dmPolicy、allowFrom(旧版:dm.policy、dm.allowFrom)、dm.groupEnabled、dm.groupChannels
  • 兼容性切换:dangerouslyAllowNameMatching(打破玻璃,除非需要,否则请勿靠近)
  • 通道访问:groupPolicy、channels.*、channels.*.users、channels.*.requireMention、requireMentionInBotThreads(也根据account/channel)、implicitMentions.*
  • 群组介绍:joinIntro、accounts.*.joinIntro(默认:true)
  • threading/history: replyToMode, replyToModeByChatType, thread.*, historyLimit, dmHistoryLimit, dms.*.historyLimit
  • 存在唤醒:presenceEvents.mode、presenceEvents.prompt、channels.*.presenceEvents.*(off|auto|on,默认off)
  • 传递:textChunkLimit、streaming.chunkMode、mediaMaxMb、streaming、streaming.nativeTransport、streaming.preview.toolProgress
  • unfurls:unfurlLinks(默认:false),unfurlMedia用于chat.postMessage link/media预览控件。设置 unfurlLinks: true 以选择返回链接预览
  • ops/features: configWrites, commands.native, slashCommand.*, actions.*, userToken, userTokenReadOnly

相关内容

本页有帮助吗?