/** * Microsoft Teams Node - Version 1 * Discriminator: resource=channelMessage, operation=create */ interface Credentials { microsoftTeamsOAuth2Api: CredentialReference; } /** Create a channel */ export type MicrosoftTeamsV1ChannelMessageCreateParams = { resource: 'channelMessage'; 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; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ channelId?: string | Expression; /** * The type of the content * @default text */ messageType?: 'text' | 'html' | Expression; /** * The content of the item */ message?: string | Expression | PlaceholderValue; /** * Options * @default {} */ options?: { /** Whether to append a link to this workflow at the end of the message. This is helpful if you have many workflows sending messages. * @default true */ includeLinkToWorkflow?: boolean | Expression; /** An optional ID of the message you want to reply to */ makeReply?: string | Expression | PlaceholderValue; }; }; export type MicrosoftTeamsV1ChannelMessageCreateNode = { type: 'n8n-nodes-base.microsoftTeams'; version: 1; credentials?: Credentials; config: NodeConfig; };