diff --git a/lib/wechat.js b/lib/wechat.js index 2f43747a..d05e1ef7 100644 --- a/lib/wechat.js +++ b/lib/wechat.js @@ -377,7 +377,7 @@ Handler.prototype.setHandler = function (type, fn) { return this; }; -['text', 'image', 'voice', 'video', 'location', 'link', 'event', 'hardware', 'device_text', 'device_event'].forEach(function (method) { +['text', 'image', 'voice', 'video', 'location', 'link', 'event','shortvideo', 'hardware', 'device_text', 'device_event'].forEach(function (method) { Handler.prototype[method] = function (fn) { return this.setHandler(method, fn); };