/** * Mattermost Node - Version 1 * Discriminator: resource=channel, operation=create */ interface Credentials { mattermostApi: CredentialReference; } /** Create a new channel */ export type MattermostV1ChannelCreateParams = { resource: 'channel'; operation: 'create'; /** * The Mattermost Team. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ teamId?: string | Expression; /** * The non-unique UI name for the channel */ displayName?: string | Expression | PlaceholderValue; /** * The unique handle for the channel, will be present in the channel URL */ channel?: string | Expression | PlaceholderValue; /** * The type of channel to create * @default public */ type?: 'private' | 'public' | Expression; }; export type MattermostV1ChannelCreateNode = { type: 'n8n-nodes-base.mattermost'; version: 1; credentials?: Credentials; config: NodeConfig; };