/** * Slack Node - Version 2.1 * Discriminator: resource=channel, operation=kick */ interface Credentials { slackApi: CredentialReference; slackOAuth2Api: CredentialReference; } /** Removes a user from a channel */ export type SlackV21ChannelKickParams = { resource: 'channel'; operation: 'kick'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * The Slack channel to kick the user from * @default {"mode":"list","value":""} */ channelId?: { __rl: true; mode: 'list' | 'id' | 'url'; value: string; cachedResultName?: string }; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ userId?: string | Expression; }; export type SlackV21ChannelKickNode = { type: 'n8n-nodes-base.slack'; version: 2.1; credentials?: Credentials; config: NodeConfig; };