/** * Mattermost Node - Version 1 * Discriminator: resource=message, operation=postEphemeral */ interface Credentials { mattermostApi: CredentialReference; } /** Post an ephemeral message into a channel */ export type MattermostV1MessagePostEphemeralParams = { resource: 'message'; operation: 'postEphemeral'; /** * ID of the user to send the ephemeral message to. 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 channel to send the ephemeral message in. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ channelId?: string | Expression; /** * Text to send in the ephemeral message */ message?: string | Expression | PlaceholderValue; }; export type MattermostV1MessagePostEphemeralNode = { type: 'n8n-nodes-base.mattermost'; version: 1; credentials?: Credentials; config: NodeConfig; };