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

x/deno_slack_sdk/functions/definitions/slack-function.ts>DefineFunction

SDK for building Run on Slack apps using Deno
Latest
variable DefineFunction
import { DefineFunction } from "https://deno.land/x/deno_slack_sdk@2.14.2/functions/definitions/slack-function.ts";

Define a function and its input and output parameters for use in a Slack application.

type

<InputParameters extends ParameterSetDefinition, OutputParameters extends ParameterSetDefinition, RequiredInput extends PossibleParameterKeys<InputParameters>, RequiredOutput extends PossibleParameterKeys<OutputParameters>>(definition: SlackFunctionDefinitionArgs<InputParameters, OutputParameters, RequiredInput, RequiredOutput>) => unknown