@mbakgun/n8n-nodes-slack-socket-mode
Version:
Slack Socket Mode Node for n8n that allows you to use +100 Slack events in your n8n instance with proxy mode
11 lines • 438 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.createRespond = void 0;
function createRespond(axiosInstance, responseUrl) {
return async (message) => {
const normalizedArgs = typeof message === 'string' ? { text: message } : message;
return axiosInstance.post(responseUrl, normalizedArgs);
};
}
exports.createRespond = createRespond;
//# sourceMappingURL=create-respond.js.map