You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/web/app/docs/slack/page.mdx
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ Fully stateful Slack Web API emulation with channels, messages, threads, reactio
11
11
-`POST /api/chat.postMessage` - post message with text or rich payload fields (supports threads via `thread_ts`)
12
12
-`POST /api/chat.update` - update message text and rich payload fields
13
13
-`POST /api/chat.delete` - delete message
14
+
-`GET /api/chat.getPermalink` / `POST /api/chat.getPermalink` - get message permalink
14
15
-`POST /api/chat.meMessage` - /me message
15
16
16
17
## Conversations
@@ -55,9 +56,11 @@ Fully stateful Slack Web API emulation with channels, messages, threads, reactio
55
56
56
57
## Event Dispatching
57
58
58
-
When messages are posted or reactions change, the emulator dispatches `event_callback` payloads to configured webhook URLs matching Slack's Events API format:
59
+
When messages are posted, updated, deleted, or reactions change, the emulator dispatches `event_callback` payloads to configured webhook URLs matching Slack's Events API format:
59
60
60
61
-`message` events on `chat.postMessage`
62
+
-`message` with `subtype: message_changed` on `chat.update`
63
+
-`message` with `subtype: message_deleted` on `chat.delete`
61
64
- rich message fields are included on posted `message` events when present
62
65
-`reaction_added` / `reaction_removed` events on `reactions.add` / `reactions.remove`
63
66
-`message` with `subtype: bot_message` on incoming webhook posts
0 commit comments