UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

32 lines (28 loc) 933 B
/** * Slack Node - Version 1 * Discriminator: resource=channel, operation=kick */ interface Credentials { slackApi: CredentialReference; slackOAuth2Api: CredentialReference; } /** Removes a user from a channel */ export type SlackV1ChannelKickParams = { resource: 'channel'; operation: 'kick'; authentication?: 'accessToken' | 'oAuth2' | Expression<string>; /** * The name of the channel to create. 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>; /** * Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt; */ userId?: string | Expression<string>; }; export type SlackV1ChannelKickNode = { type: 'n8n-nodes-base.slack'; version: 1; credentials?: Credentials; config: NodeConfig<SlackV1ChannelKickParams>; };