/** * 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; /** * Channel containing the message to be deleted. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ channelId?: string | Expression; /** * Timestamp of the message to be deleted */ timestamp?: string | Expression | PlaceholderValue; }; export type SlackV1MessageDeleteNode = { type: 'n8n-nodes-base.slack'; version: 1; credentials?: Credentials; config: NodeConfig; };