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