Skip to main content
Module

x/slack_bolt/deps.ts>SocketModeClient#onWebsocketMessage

TypeScript framework to build Slack apps in a flash with the latest platform features. Deno port of @slack/bolt
Latest
method SocketModeClient.prototype.onWebsocketMessage
import { SocketModeClient } from "https://deno.land/x/slack_bolt@1.0.0/deps.ts";

onmessage handler for the client's websocket. This will parse the payload and dispatch the relevant events for each incoming message.

Parameters

unnamed 0: { data: string; }