diff --git a/docs/_pages/basic_usage.md b/docs/_pages/basic_usage.md index f67f981f..90d285b6 100644 --- a/docs/_pages/basic_usage.md +++ b/docs/_pages/basic_usage.md @@ -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}) ```