/** * Microsoft Teams Node - Version 1 * Discriminator: resource=chatMessage, operation=create */ interface Credentials { microsoftTeamsOAuth2Api: CredentialReference; } /** Create a channel */ export type MicrosoftTeamsV1ChatMessageCreateParams = { resource: 'chatMessage'; operation: 'create'; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ chatId?: string | Expression; /** * The type of the content * @default text */ messageType?: 'text' | 'html' | Expression; /** * The content of the item */ message?: string | Expression | PlaceholderValue; /** * Other options to set * @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; }; }; export type MicrosoftTeamsV1ChatMessageCreateNode = { type: 'n8n-nodes-base.microsoftTeams'; version: 1; credentials?: Credentials; config: NodeConfig; };