UNPKG

@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

21 lines 668 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createSetStatus = void 0; function createSetStatus(client, channelId, threadTs) { return (status) => { if (typeof status === 'string') { return client.assistant.threads.setStatus({ channel_id: channelId, thread_ts: threadTs, status, }); } return client.assistant.threads.setStatus({ channel_id: channelId, thread_ts: threadTs, ...status, }); }; } exports.createSetStatus = createSetStatus; //# sourceMappingURL=create-set-status.js.map