/** * Google Chat Node - Version 1 * Discriminator: resource=message, operation=update */ interface Credentials { googleApi: CredentialReference; googleChatOAuth2Api: CredentialReference; } /** Update a message */ export type GoogleChatV1MessageUpdateParams = { resource: 'message'; operation: 'update'; authentication?: 'oAuth2' | 'serviceAccount' | Expression; /** * Resource name of the message to be updated, in the form "spaces//messages/" */ messageId?: string | Expression | PlaceholderValue; /** * Whether to pass the update fields object as JSON * @default false */ jsonParameters?: boolean | Expression; /** * Update Fields * @displayOptions.show { jsonParameters: [false] } * @default {} */ updateFieldsUi?: { /** Text */ text?: string | Expression | PlaceholderValue; }; /** * Message input as JSON Object or JSON String * @displayOptions.show { jsonParameters: [true] } */ updateFieldsJson?: IDataObject | string | Expression; }; export type GoogleChatV1MessageUpdateNode = { type: 'n8n-nodes-base.googleChat'; version: 1; credentials?: Credentials; config: NodeConfig; };