Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
variable BlockSuggestionRouter
import { BlockSuggestionRouter } from "https://deno.land/x/deno_slack_sdk@2.1.1/functions/interactivity/block_suggestion_router.ts";

Define a suggestion "router" and its input and output parameters for use in a Slack application. The SuggestionRouter 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