Skip to content
This repository was archived by the owner on Jan 28, 2019. It is now read-only.

Commit 8fa0640

Browse files
authored
Update README.md
1 parent 07b209e commit 8fa0640

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ let rtm = SKRTMAPI(token: "xoxb-SLACK_AUTH_TOKEN")
7070
rtm.connect()
7171
```
7272

73+
If your bot doesn't need any state information when you connect, pass `false` for the `withInfo` parameter:
74+
75+
```swift
76+
let rtm = SKRTMAPI(token: "xoxb-SLACK_AUTH_TOKEN")
77+
rtm.connect(withInfo: false)
78+
```
79+
7380
Customize the connection with `RTMOptions`:
7481

7582
```swift

0 commit comments

Comments
 (0)