/** * Mattermost Node - Version 1 * Discriminator: resource=reaction, operation=create */ interface Credentials { mattermostApi: CredentialReference; } /** Create a new channel */ export type MattermostV1ReactionCreateParams = { resource: 'reaction'; operation: 'create'; /** * ID of the user sending the reaction. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ userId?: string | Expression; /** * ID of the post to react to. Obtainable from the post link: <code>https://mattermost.internal.n8n.io/[server]/pl/[postId]</code> */ postId?: string | Expression | PlaceholderValue; /** * Emoji to use for this reaction */ emojiName?: string | Expression | PlaceholderValue; }; export type MattermostV1ReactionCreateNode = { type: 'n8n-nodes-base.mattermost'; version: 1; credentials?: Credentials; config: NodeConfig; };