Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
variable BlockActionsRouter
import { BlockActionsRouter } from "https://deno.land/x/deno_slack_sdk@2.2.0/functions/interactivity/block_actions_router.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