Skip to content

Commit

Permalink
0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mishk0 committed Jun 9, 2015
1 parent 4c96b18 commit 17ff849
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "slackbots",
"version": "0.2.1",
"version": "0.3.0",
"description": "Simple API for Slack",
"main": "index.js",
"author": {
Expand Down

0 comments on commit 17ff849

Please sign in to comment.