diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -322,7 +322,7 @@ slackAPI.prototype.getSlackData = function() {
 };
 
 slackAPI.prototype.sendTyping = function(channel) {
-    sendSock({'type': 'typing', channel: channel});
+    this.sendSock({'type': 'typing', channel: channel});
     return this;
 };
Fixed issue with sendTyping prototype method