Expand description
Slack Socket Mode + Web API wire types.
Block Kit is represented as raw serde_json::Value rather than a typed
enum tree (spec §4.4, §7, §11.2) — Slack’s block/element/object surface
is large and evolving; a raw escape hatch is the deliberate v1 choice.
Structs§
- AckFrame
- Sent back on the same socket a
events_api/slash_commandsenvelope arrived on, within 3 seconds of receipt (spec §2.2 — hard correctness requirement). - Disconnect
Frame - Events
ApiEnvelope - Events
ApiPayload - Hello
Frame - Open
Connection Response - Post
Message Body - Post
Message Response - Slack
Event - Slash
Commands Envelope - Present for wire-compatibility only — not routed/acted on (see module doc).
Enums§
- Socket
Envelope - Tagged on the wire
"type"field.SlashCommandsis parsed for forward compatibility (an envelope of this kind can arrive if the app has any slash command registered) but its payload is not modeled/acted on — slash command handling is explicitly out of scope for this PR (spec §2.5, §10 Phase 4).