Sha256: 016677c94bc55833a205d02ce200b0b3c1776b23522bcafbdc84874362f9ef3a

Contents?: true

Size: 553 Bytes

Versions: 1

Compression:

Stored size: 553 Bytes

Contents

slack-rtmapi
============

All you need to use the RTM api of Slack

Please note that this gem is GPLv3. You *CAN'T* use it for proprietary software.
If you need a licence, please contact me and I will respond in the 24 hours.

HOW TO USE
----------

```ruby
require 'slack-rtmapi'

url = SlackRTM.get_url token: 'xxx'
client = SlackRTM::Client.new websocket_url: url

client.on :message {|data| p data}

client.main_loop
assert false # never ending loop
```

For more informations about the Slack Real Time API, please check https://api.slack.com/rtm

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slack-rtmapi-1.0.0.rc2 README.md