Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
class ActionsRouter
import { ActionsRouter } from "https://deno.land/x/deno_slack_sdk@2.13.0/functions/interactivity/block_actions_router.ts";

Type Parameters

InputParameters extends ParameterSetDefinition
OutputParameters extends ParameterSetDefinition
RequiredInput extends PossibleParameterKeys<InputParameters>
RequiredOutput extends PossibleParameterKeys<OutputParameters>

Properties

private
routes: Array<[BlockActionConstraint, BlockActionHandler<this.func.definition>]>

Methods

Returns a method handling routing of action payloads to the appropriate action handler. The output of export() should be attached to the blockActions export of your function.

Return the first registered ActionHandler that matches the action ID string provided.