Skip to content

Commit

Permalink
Merge pull request #126 from charj/patch-1
Browse files Browse the repository at this point in the history
Fixing heading in readme
  • Loading branch information
Mikhail Mokrushin authored Aug 2, 2019
2 parents d96d5b0 + 9d80e0c commit 8bc998c
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 8bc998c

Please sign in to comment.