Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit b6186c7

Browse files
committedMar 14, 2019
Added API override to sanitize message
1 parent c0219f3 commit b6186c7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎lib/Slack_web_api.js

+5
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,11 @@ module.exports = function(bot, config) {
214214
slack_api.callAPI('chat.postEphemeral', options, cb);
215215
};
216216

217+
slack_api.chat.scheduleMessage = function(options, cb) {
218+
sanitizeOptions(options);
219+
slack_api.callAPI('chat.scheduleMessage', options, cb);
220+
};
221+
217222
slack_api.chat.update = function(options, cb) {
218223
sanitizeOptions(options);
219224
slack_api.callAPI('chat.update', options, cb);

0 commit comments

Comments
 (0)
This repository has been archived.