UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

28 lines (24 loc) 722 B
/** * Slack Node - Version 1 * Discriminator: resource=channel, operation=join */ interface Credentials { slackApi: CredentialReference; slackOAuth2Api: CredentialReference; } /** Joins an existing conversation */ export type SlackV1ChannelJoinParams = { resource: 'channel'; operation: 'join'; authentication?: 'accessToken' | 'oAuth2' | Expression<string>; /** * Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt; */ channelId?: string | Expression<string>; }; export type SlackV1ChannelJoinNode = { type: 'n8n-nodes-base.slack'; version: 1; credentials?: Credentials; config: NodeConfig<SlackV1ChannelJoinParams>; };