UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

32 lines (28 loc) 880 B
/** * Slack Node - Version 1 * Discriminator: resource=message, operation=delete */ interface Credentials { slackApi: CredentialReference; slackOAuth2Api: CredentialReference; } /** Deletes a message */ export type SlackV1MessageDeleteParams = { resource: 'message'; operation: 'delete'; authentication?: 'accessToken' | 'oAuth2' | Expression<string>; /** * Channel containing the message to be deleted. 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 be deleted */ timestamp?: string | Expression<string> | PlaceholderValue; }; export type SlackV1MessageDeleteNode = { type: 'n8n-nodes-base.slack'; version: 1; credentials?: Credentials; config: NodeConfig<SlackV1MessageDeleteParams>; };