diff --git a/lib/Slack_web_api.js b/lib/Slack_web_api.js index a75de6f03..e8b0fb461 100755 --- a/lib/Slack_web_api.js +++ b/lib/Slack_web_api.js @@ -214,6 +214,11 @@ module.exports = function(bot, config) { slack_api.callAPI('chat.postEphemeral', options, cb); }; + slack_api.chat.scheduleMessage = function(options, cb) { + sanitizeOptions(options); + slack_api.callAPI('chat.scheduleMessage', options, cb); + }; + slack_api.chat.update = function(options, cb) { sanitizeOptions(options); slack_api.callAPI('chat.update', options, cb);