/** * Slack Node - Version 2.1 * Discriminator: resource=channel, operation=setTopic */ interface Credentials { slackApi: CredentialReference; slackOAuth2Api: CredentialReference; } /** Sets the topic for a conversation */ export type SlackV21ChannelSetTopicParams = { resource: 'channel'; operation: 'setTopic'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * The Slack channel to set the topic of * @default {"mode":"list","value":""} */ channelId?: { __rl: true; mode: 'list' | 'id' | 'url'; value: string; cachedResultName?: string }; /** * Topic */ topic?: string | Expression | PlaceholderValue; }; export type SlackV21ChannelSetTopicOutput = { context_team_id?: string; created?: number; creator?: string; id?: string; is_archived?: boolean; is_channel?: boolean; is_ext_shared?: boolean; is_general?: boolean; is_group?: boolean; is_im?: boolean; is_member?: boolean; is_mpim?: boolean; is_org_shared?: boolean; is_pending_ext_shared?: boolean; is_private?: boolean; is_shared?: boolean; name?: string; name_normalized?: string; parent_conversation?: null; previous_names?: Array; purpose?: { creator?: string; last_set?: number; value?: string; }; shared_team_ids?: Array; topic?: { creator?: string; last_set?: number; value?: string; }; unlinked?: number; updated?: number; }; export type SlackV21ChannelSetTopicNode = { type: 'n8n-nodes-base.slack'; version: 2.1; credentials?: Credentials; config: NodeConfig; output?: Items; };