Skip to content

Commit

Permalink
Fixing heading in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
S33G authored May 29, 2019
1 parent b352948 commit 9d80e0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) {/* ... */});
Expand Down

0 comments on commit 9d80e0c

Please sign in to comment.