/** * Mattermost Node - Version 1 * Discriminator: resource=channel, operation=addUser */ interface Credentials { mattermostApi: CredentialReference; } /** Add a user to a channel */ export type MattermostV1ChannelAddUserParams = { resource: 'channel'; operation: 'addUser'; /** * The ID of the channel to invite user to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ channelId?: string | Expression; /** * The ID of the user to invite into channel. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ userId?: string | Expression; }; export type MattermostV1ChannelAddUserNode = { type: 'n8n-nodes-base.mattermost'; version: 1; credentials?: Credentials; config: NodeConfig; };