Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
type alias SlackFunctionType
import { type SlackFunctionType } from "https://deno.land/x/deno_slack_sdk@1.1.3/functions/types.ts";

Type Parameters

Definition
definition: Definition extends FunctionDefinitionArgs<infer I, infer O, infer RI, infer RO> ? (EnrichedSlackFunctionHandler<Definition> & { addBlockActionsHandler(actionConstraint: BlockActionConstraint, handler: BlockActionHandler<FunctionDefinitionArgs<I, O, RI, RO>>): SlackFunctionType<Definition>; addViewClosedHandler(viewConstraint: BasicConstraintField, handler: ViewClosedHandler<FunctionDefinitionArgs<I, O, RI, RO>>): SlackFunctionType<Definition>; addViewSubmissionHandler(viewConstraint: BasicConstraintField, handler: ViewSubmissionHandler<FunctionDefinitionArgs<I, O, RI, RO>>): SlackFunctionType<Definition>; addUnhandledEventHandler(handler: UnhandledEventHandler<FunctionDefinitionArgs<I, O, RI, RO>>): SlackFunctionType<Definition>; }) : never