/** * Slack Node - Version 1 * Discriminator: resource=channel, operation=setPurpose */ interface Credentials { slackApi: CredentialReference; slackOAuth2Api: CredentialReference; } /** Sets the purpose for a conversation */ export type SlackV1ChannelSetPurposeParams = { resource: 'channel'; operation: 'setPurpose'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * Conversation to set the purpose of. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ channelId?: string | Expression; /** * A new, specialer purpose */ purpose?: string | Expression | PlaceholderValue; }; export type SlackV1ChannelSetPurposeNode = { type: 'n8n-nodes-base.slack'; version: 1; credentials?: Credentials; config: NodeConfig; };