From 9d80e0cba5e8492deed8084d613323af17b403b0 Mon Sep 17 00:00:00 2001 From: Charlie Jennings Date: Wed, 29 May 2019 10:23:42 +0100 Subject: [PATCH] Fixing heading in readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7cfa697..9834c3b 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,8 @@ bot.on('message', function(data) { }); ``` -###Response Handler +### Response Handler + The simplest way for handling response is callback function, which is specified as a last argument: ```js bot.postMessageToUser('user1', 'hi', function(data) {/* ... */});