UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

32 lines (28 loc) 919 B
/** * 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<string>; /** * Conversation to set the topic of. 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>; /** * The new topic string. Does not support formatting or linkification. */ topic?: string | Expression<string> | PlaceholderValue; }; export type SlackV1ChannelSetTopicNode = { type: 'n8n-nodes-base.slack'; version: 1; credentials?: Credentials; config: NodeConfig<SlackV1ChannelSetTopicParams>; };