UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

36 lines (32 loc) 930 B
/** * Slack Node - Version 1 * Discriminator: resource=reaction, operation=add */ interface Credentials { slackApi: CredentialReference; slackOAuth2Api: CredentialReference; } /** Add a star to an item */ export type SlackV1ReactionAddParams = { resource: 'reaction'; operation: 'add'; 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>; /** * Name of emoji */ name?: string | Expression<string> | PlaceholderValue; /** * Timestamp of the message */ timestamp?: string | Expression<string> | PlaceholderValue; }; export type SlackV1ReactionAddNode = { type: 'n8n-nodes-base.slack'; version: 1; credentials?: Credentials; config: NodeConfig<SlackV1ReactionAddParams>; };