diff --git a/README.md b/README.md index 4792d76..b6b4ed9 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,11 @@ npm install slackbots - `getUser` (return: promise) - gets user by name, - `getChannel` (return: promise) - gets channel by name, - `getChatId` (return: promise) - it returns or opens and returns a direct message channel ID, -- `postMessage` - posts a message to channel by ID, +- `postMessage` - posts a message to channel|group|user by ID, - `postMessageToChannel` - posts a message to channel by name, -- `postMessageToUser` - posts a direct message by user name. +- `postMessageToUser` - posts a direct message by user name, +- `postMessageToGroup` - posts a message to private group by name, +- `postTo` - posts a message to channel|group|user by name. ## Usage ```js diff --git a/package.json b/package.json index 0557093..a9c9d78 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "slackbots", - "version": "0.2.1", + "version": "0.3.0", "description": "Simple API for Slack", "main": "index.js", "author": {