README.md in peertransfer_chat-0.2.1 vs README.md in peertransfer_chat-1.0.0
- old
+ new
@@ -27,12 +27,11 @@
Configure the chat client:
```ruby
PeertransferChat.configure do |config|
- config.team = team_name
- config.incoming_token = team_token
+ config.api_token = api_token
config.channel = team_channel
config.username = team_username
end
```
@@ -46,11 +45,8 @@
```ruby
PeertransferChat::Client.upload('/path/to/a/file.txt')
```
## Slack settings description
- - `team` Your team
- `channel` Channel name
- `api_token` This token comes from your user https://api.slack.com/web
- `rtm_token` Real time messaging, you can find it in integration -> bot -> token
- - `incomming_token` Incoming web hook token, you can create one in integration -> incomming webhooks
- - `channel_id` Channel id you can find it in the code of your slack team web page