slack.slack._constructor_
Home > @runlightyear/slack > Slack > (constructor)
Slack.(constructor)
Create a new slack connector
Signature:constructor(props: SlackProps);
Parameters
Parameter | Type | Description |
---|---|---|
props | SlackProps |
Example
defineAction({
name: "slackExample",
title: "Slack Example",
apps: ["slack"],
run: ({ auths }) => {
const slack = new Slack({ auth: auths.slack });
}
})