/** * Slack Node - Version 1 * Discriminator: resource=channel, operation=rename */ interface Credentials { slackApi: CredentialReference; slackOAuth2Api: CredentialReference; } /** Renames a conversation */ export type SlackV1ChannelRenameParams = { resource: 'channel'; operation: 'rename'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * The name of the channel to rename. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ channelId?: string | Expression; /** * New name for conversation */ name?: string | Expression | PlaceholderValue; }; export type SlackV1ChannelRenameNode = { type: 'n8n-nodes-base.slack'; version: 1; credentials?: Credentials; config: NodeConfig; };