UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

32 lines (28 loc) 918 B
/** * Slack Node - Version 1 * Discriminator: resource=message, operation=getPermalink */ interface Credentials { slackApi: CredentialReference; slackOAuth2Api: CredentialReference; } /** Get Permanent Link of a message */ export type SlackV1MessageGetPermalinkParams = { resource: 'message'; operation: 'getPermalink'; authentication?: 'accessToken' | 'oAuth2' | Expression<string>; /** * Channel containing the message. 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>; /** * Timestamp of the message to get permanent link */ timestamp?: string | Expression<string> | PlaceholderValue; }; export type SlackV1MessageGetPermalinkNode = { type: 'n8n-nodes-base.slack'; version: 1; credentials?: Credentials; config: NodeConfig<SlackV1MessageGetPermalinkParams>; };