laziness 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +27 -0
- data/lib/laziness/api/conversations.rb +1 -1
- data/lib/laziness/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4575bffe5cbe1205a7f1b3057d607983b68f5cf821d7d85b45c4e6ef336dc28a
|
4
|
+
data.tar.gz: a4e88867662053bbf3cf63741a85b9985107c3574a1328eeb8c594c7210f6aaa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7d62f72f2c7856fbb300bab0802dc19cc77c531691fca086b5c0cab67c50032003d388aa47658b67ae962fb0f400f2311f96c544ed2b8ef0b497fc2fd391221
|
7
|
+
data.tar.gz: 67b0f5bc0f81deda62afa7a06239db6fb90b512b5cc6efc991c73ab90dee5afebf83c317b2a6241c98382e8bd8ea6d3c044193abba4da688a62be7b107ce6b55
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -69,6 +69,33 @@ message = client.chat.update("Hello again", channel_id, message.ts) # updates th
|
|
69
69
|
client.chat.delete(channel_id, message.ts) # deletes the message with the specified timestamp
|
70
70
|
```
|
71
71
|
|
72
|
+
### Conversations
|
73
|
+
|
74
|
+
```
|
75
|
+
client.conversations.all # lists out all the channels
|
76
|
+
client.conversations.find(channel_id) # get info about a specific channel
|
77
|
+
client.conversations.archive(channel_id) # archives the specific channel
|
78
|
+
client.conversations.close(channel_id) # closes the specific channel
|
79
|
+
client.conversations.join(channel_id) # joins the specific channel
|
80
|
+
client.conversations.kick(channel_id, user) # removes the specific user from the specific channel
|
81
|
+
client.conversations.leave(channel_id) # removes the current user from the specific channel
|
82
|
+
client.conversations.members(channel_id) # returns all the members on a specific channel
|
83
|
+
client.conversations.open(users, channel_id) # opens the channel with the specific users
|
84
|
+
client.conversations.rename(channel_id, name) # renames the specific channel
|
85
|
+
client.conversations.set_purpose(channel_id, purpose) # sets the purpose on the specific channel
|
86
|
+
client.conversations.set_topic(channel_id, topic) # sets the topic on the specific channel
|
87
|
+
client.conversations.unarchive(channel_id) # unarchives the specific channel
|
88
|
+
|
89
|
+
channel = client.conversations.create("testing") # creates the new channel
|
90
|
+
|
91
|
+
client.conversations.invite(channel_id, users) # invites the specific users to the specific channel
|
92
|
+
```
|
93
|
+
|
94
|
+
#### TODO:
|
95
|
+
|
96
|
+
- [ ] [conversations.history](https://api.slack.com/methods/conversations.history)
|
97
|
+
- [ ] [conversations.replies](https://api.slack.com/methods/conversations.replies)
|
98
|
+
|
72
99
|
### Emoji
|
73
100
|
|
74
101
|
### Files
|
data/lib/laziness/version.rb
CHANGED