/** * Microsoft Teams Node - Version 1 * Discriminator: resource=channel, operation=create */ interface Credentials { microsoftTeamsOAuth2Api: CredentialReference; } /** Create a channel */ export type MicrosoftTeamsV1ChannelCreateParams = { resource: 'channel'; operation: 'create'; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ teamId?: string | Expression; /** * Channel name as it will appear to the user in Microsoft Teams */ name?: string | Expression | PlaceholderValue; /** * Options * @default {} */ options?: { /** Channel's description */ description?: string | Expression | PlaceholderValue; /** The type of the channel * @default standard */ type?: 'private' | 'standard' | Expression; }; }; export type MicrosoftTeamsV1ChannelCreateNode = { type: 'n8n-nodes-base.microsoftTeams'; version: 1; credentials?: Credentials; config: NodeConfig; };