Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_slack_sdk/functions/interactivity/mod.ts>BlockActionsRouter

SDK for building Run on Slack apps using Deno
Go to Latest
variable BlockActionsRouter
import { BlockActionsRouter } from "https://deno.land/x/deno_slack_sdk@2.1.2/functions/interactivity/mod.ts";

Define an actions "router" and its input and output parameters for use in a Slack application. The ActionsRouter will route incoming action events to action-specific handlers.

type

<InputParameters extends ParameterSetDefinition, OutputParameters extends ParameterSetDefinition, RequiredInput extends PossibleParameterKeys<InputParameters>, RequiredOutput extends PossibleParameterKeys<OutputParameters>>(func: SlackFunctionDefinition<InputParameters, OutputParameters, RequiredInput, RequiredOutput>) => unknown