Skip to main content

slack.slack._constructor_

Home > @runlightyear/slack > Slack > (constructor)

Slack.(constructor)

Create a new slack connector

Signature:
constructor(props: SlackProps);

Parameters

ParameterTypeDescription
propsSlackProps

Example

defineAction({
name: "slackExample",
title: "Slack Example",
apps: ["slack"],
run: ({ auths }) => {
const slack = new Slack({ auth: auths.slack });
}
})