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

x/deno_slack_sdk/functions/types.ts>SlackFunctionType

SDK for building Run on Slack apps using Deno
Extremely Popular
Go to Latest
type alias SlackFunctionType
import { type SlackFunctionType } from "https://deno.land/x/deno_slack_sdk@2.0.2/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>; addBlockSuggestionHandler(actionConstraint: BlockActionConstraint, handler: BlockSuggestionHandler<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