

























@@ -120,8 +120,9 @@ openclaw gateway
120120121121## Manifest and scope checklist
122122123-<Tabs>
124-<Tab title="Socket Mode (default)">
123+The base Slack app manifest is the same for Socket Mode and HTTP Request URLs. Only the `settings` block (and the slash command `url`) differs.
124+125+Base manifest (Socket Mode default):
125126126127```json
127128{
@@ -130,10 +131,7 @@ openclaw gateway
130131"description": "Slack connector for OpenClaw"
131132 },
132133"features": {
133-"bot_user": {
134-"display_name": "OpenClaw",
135-"always_online": true
136- },
134+"bot_user": { "display_name": "OpenClaw", "always_online": true },
137135"app_home": {
138136"messages_tab_enabled": true,
139137"messages_tab_read_only_enabled": false
@@ -196,25 +194,11 @@ openclaw gateway
196194}
197195```
198196199-</Tab>
200-201-<Tab title="HTTP Request URLs">
197+For **HTTP Request URLs mode**, replace `settings` with the HTTP variant and add `url` to each slash command. Public URL required:
202198203199```json
204200{
205-"display_information": {
206-"name": "OpenClaw",
207-"description": "Slack connector for OpenClaw"
208- },
209201"features": {
210-"bot_user": {
211-"display_name": "OpenClaw",
212-"always_online": true
213- },
214-"app_home": {
215-"messages_tab_enabled": true,
216-"messages_tab_read_only_enabled": false
217- },
218202"slash_commands": [
219203 {
220204"command": "/openclaw",
@@ -224,50 +208,11 @@ openclaw gateway
224208 }
225209 ]
226210 },
227-"oauth_config": {
228-"scopes": {
229-"bot": [
230-"app_mentions:read",
231-"assistant:write",
232-"channels:history",
233-"channels:read",
234-"chat:write",
235-"commands",
236-"emoji:read",
237-"files:read",
238-"files:write",
239-"groups:history",
240-"groups:read",
241-"im:history",
242-"im:read",
243-"im:write",
244-"mpim:history",
245-"mpim:read",
246-"mpim:write",
247-"pins:read",
248-"pins:write",
249-"reactions:read",
250-"reactions:write",
251-"users:read"
252- ]
253- }
254- },
255211"settings": {
256212"event_subscriptions": {
257213"request_url": "https://gateway-host.example.com/slack/events",
258214"bot_events": [
259-"app_mention",
260-"channel_rename",
261-"member_joined_channel",
262-"member_left_channel",
263-"message.channels",
264-"message.groups",
265-"message.im",
266-"message.mpim",
267-"pin_added",
268-"pin_removed",
269-"reaction_added",
270-"reaction_removed"
215+/* same as Socket Mode */
271216 ]
272217 },
273218"interactivity": {
@@ -279,9 +224,6 @@ openclaw gateway
279224}
280225```
281226282-</Tab>
283-</Tabs>
284-285227### Additional manifest settings
286228287229Surface different features that extend the above defaults.
@@ -708,9 +650,7 @@ Manual reply tags are supported:
708650- `[[reply_to_current]]`
709651- `[[reply_to:<id>]]`
710652711-Note: `replyToMode="off"` disables **all** reply threading in Slack, including explicit `[[reply_to_*]]` tags. This differs from Telegram, where explicit tags are still honored in `"off"` mode. The difference reflects the platform threading models: Slack threads hide messages from the channel, while Telegram replies remain visible in the main chat flow.
712-713-Focused Slack thread replies route through their bound ACP session when one exists, instead of preparing the reply against the default agent shell. That keeps `/focus` and `/acp spawn ... --bind here` bindings intact for follow-up messages in the thread.
653+Note: `replyToMode="off"` disables **all** reply threading in Slack, including explicit `[[reply_to_*]]` tags. This differs from Telegram, where explicit tags are still honored in `"off"` mode — Slack threads hide messages from the channel while Telegram replies stay visible inline.
714654715655## Ack reactions
716656@@ -744,9 +684,8 @@ Notes:
744684- Channel and group-chat roots can still use the normal draft preview when native streaming is unavailable.
745685- Top-level Slack DMs stay off-thread by default, so they do not show the thread-style preview; use thread replies or `typingReaction` if you want visible progress there.
746686- Media and non-text payloads fall back to normal delivery.
747-- Media/error finals cancel pending preview edits without flushing a temporary draft; eligible text/block finals flush only when they can edit the preview in place.
687+- Media/error finals cancel pending preview edits; eligible text/block finals flush only when they can edit the preview in place.
748688- If streaming fails mid-reply, OpenClaw falls back to normal delivery for remaining payloads.
749-- Slack Connect channels that reject a stream before the SDK flushes its local buffer fall back to normal Slack replies, so short replies are not silently dropped or reported as delivered before Slack acknowledges them.
750689751690Use draft preview instead of Slack native text streaming:
752691@@ -1035,12 +974,6 @@ openclaw pairing list slack
1035974snapshots, the HTTP account is configured but the current runtime could not
1036975resolve the SecretRef-backed signing secret.
10379761038-Registered Request URL webhooks are dispatched through the same shared handler registry used by Slack monitor setup, so HTTP-mode Slack events keep routing through the registered path instead of 404ing after successful route registration.
1039-1040-</Accordion>
1041-1042-<Accordion title="File downloads with custom bot tokens">
1043-The `downloadFile` helper resolves its bot token from the runtime config when a caller passes `cfg` without an explicit `token` or prebuilt client, preserving cfg-only file downloads outside the action runtime path.
1044977</Accordion>
10459781046979<Accordion title="Native/slash commands not firing">
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。