/**
 * 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<string>;
/**
 * The name of the channel to rename. 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>;
/**
 * New name for conversation
 */
    name?: string | Expression<string> | PlaceholderValue;
};

export type SlackV1ChannelRenameNode = {
  type: 'n8n-nodes-base.slack';
  version: 1;
  credentials?: Credentials;
  config: NodeConfig<SlackV1ChannelRenameParams>;
};