Skip to content

Commit

Permalink
Merge pull request #426 from TonioOoOo/patch-1
Browse files Browse the repository at this point in the history
Fix documentation sample
  • Loading branch information
aoberoi authored Aug 2, 2017
2 parents 7a2fca3 + 951c045 commit e76cf7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_pages/basic_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@ module.exports = (robot) ->

# There are better ways to post messages of course
# Notice the _required_ arguments `channel` and `text`, and the _optional_ arguments `as_user`, and `unfurl_links`
robot.adapter.client.chat.postMessage(res.user.room, "This is a message!", {as_user: true, unfurl_links: false})
robot.adapter.client.web.chat.postMessage(res.message.room, "This is a message!", {as_user: true, unfurl_links: false})

```

0 comments on commit e76cf7f

Please sign in to comment.