UNPKG

n8n-nodes-chatwork

Version:

Provides an n8n community node for integrating Chatwork messaging and task APIs into automated workflows.

29 lines 895 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.sendMessageProperties = void 0; const enums_1 = require("../../shared/enums"); const properties_1 = require("../../shared/properties"); const utils_1 = require("../../shared/utils"); exports.sendMessageProperties = (0, utils_1.withDisplayOptions)([ properties_1.roomIdProperty, properties_1.messageProperty, { displayName: 'Mark as Unread', name: 'selfUnread', type: 'boolean', default: false, routing: { send: { type: 'body', property: 'self_unread', value: '={{$parameter.selfUnread ? 1 : 0}}', }, }, }, ], { show: { resource: [enums_1.Resource.ROOM], operation: [enums_1.RoomOperations.SEND_MESSAGE], }, }); //# sourceMappingURL=sendMessage.js.map