slack-api 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/slack/endpoint.rb +8 -0
- data/lib/slack/endpoint/api.rb +1 -1
- data/lib/slack/endpoint/apps.rb +34 -0
- data/lib/slack/endpoint/auth.rb +2 -2
- data/lib/slack/endpoint/bots.rb +1 -1
- data/lib/slack/endpoint/channels.rb +25 -20
- data/lib/slack/endpoint/chat.rb +81 -33
- data/lib/slack/endpoint/conversations.rb +283 -0
- data/lib/slack/endpoint/dialog.rb +24 -0
- data/lib/slack/endpoint/dnd.rb +4 -4
- data/lib/slack/endpoint/emoji.rb +1 -1
- data/lib/slack/endpoint/files.rb +28 -28
- data/lib/slack/endpoint/groups.rb +24 -23
- data/lib/slack/endpoint/im.rb +16 -12
- data/lib/slack/endpoint/migration.rb +23 -0
- data/lib/slack/endpoint/mpim.rb +9 -11
- data/lib/slack/endpoint/oauth.rb +24 -2
- data/lib/slack/endpoint/pins.rb +3 -5
- data/lib/slack/endpoint/reactions.rb +16 -18
- data/lib/slack/endpoint/reminders.rb +5 -5
- data/lib/slack/endpoint/search.rb +21 -21
- data/lib/slack/endpoint/stars.rb +7 -9
- data/lib/slack/endpoint/team.rb +11 -12
- data/lib/slack/endpoint/usergroups.rb +19 -19
- data/lib/slack/endpoint/users.rb +40 -23
- data/lib/slack/version.rb +1 -1
- metadata +6 -2
@@ -4,7 +4,7 @@ module Slack
|
|
4
4
|
module Endpoint
|
5
5
|
module Groups
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# Archives a private channel.
|
8
8
|
#
|
9
9
|
# @option options [Object] :channel
|
10
10
|
# Private channel to archive
|
@@ -30,7 +30,7 @@ module Slack
|
|
30
30
|
end
|
31
31
|
|
32
32
|
#
|
33
|
-
#
|
33
|
+
# Creates a private channel.
|
34
34
|
#
|
35
35
|
# @option options [Object] :name
|
36
36
|
# Name of private channel to create
|
@@ -45,7 +45,7 @@ module Slack
|
|
45
45
|
end
|
46
46
|
|
47
47
|
#
|
48
|
-
#
|
48
|
+
# Clones and archives a private channel.
|
49
49
|
#
|
50
50
|
# @option options [Object] :channel
|
51
51
|
# Private channel to clone and archive.
|
@@ -58,20 +58,18 @@ module Slack
|
|
58
58
|
end
|
59
59
|
|
60
60
|
#
|
61
|
-
#
|
62
|
-
# To read the entire history for a private channel, call the method with no latest or
|
63
|
-
# oldest arguments, and then continue paging using the instructions below.
|
61
|
+
# Fetches history of messages and events from a private channel.
|
64
62
|
#
|
65
63
|
# @option options [Object] :channel
|
66
64
|
# Private channel to fetch history for.
|
65
|
+
# @option options [Object] :count
|
66
|
+
# Number of messages to return, between 1 and 1000.
|
67
|
+
# @option options [Object] :inclusive
|
68
|
+
# Include messages with latest or oldest timestamp in results.
|
67
69
|
# @option options [Object] :latest
|
68
70
|
# End of time range of messages to include in results.
|
69
71
|
# @option options [Object] :oldest
|
70
72
|
# Start of time range of messages to include in results.
|
71
|
-
# @option options [Object] :inclusive
|
72
|
-
# Include messages with latest or oldest timestamp in results.
|
73
|
-
# @option options [Object] :count
|
74
|
-
# Number of messages to return, between 1 and 1000.
|
75
73
|
# @option options [Object] :unreads
|
76
74
|
# Include unread_count_display in the output?
|
77
75
|
# @see https://api.slack.com/methods/groups.history
|
@@ -83,10 +81,12 @@ module Slack
|
|
83
81
|
end
|
84
82
|
|
85
83
|
#
|
86
|
-
#
|
84
|
+
# Gets information about a private channel.
|
87
85
|
#
|
88
86
|
# @option options [Object] :channel
|
89
87
|
# Private channel to get info on
|
88
|
+
# @option options [Object] :include_locale
|
89
|
+
# Set this to true to receive the locale for this group. Defaults to false
|
90
90
|
# @see https://api.slack.com/methods/groups.info
|
91
91
|
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/groups.info.md
|
92
92
|
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/groups.info.json
|
@@ -96,7 +96,7 @@ module Slack
|
|
96
96
|
end
|
97
97
|
|
98
98
|
#
|
99
|
-
#
|
99
|
+
# Invites a user to a private channel.
|
100
100
|
#
|
101
101
|
# @option options [Object] :channel
|
102
102
|
# Private channel to invite user to.
|
@@ -112,7 +112,7 @@ module Slack
|
|
112
112
|
end
|
113
113
|
|
114
114
|
#
|
115
|
-
#
|
115
|
+
# Removes a user from a private channel.
|
116
116
|
#
|
117
117
|
# @option options [Object] :channel
|
118
118
|
# Private channel to remove user from.
|
@@ -128,7 +128,7 @@ module Slack
|
|
128
128
|
end
|
129
129
|
|
130
130
|
#
|
131
|
-
#
|
131
|
+
# Leaves a private channel.
|
132
132
|
#
|
133
133
|
# @option options [Object] :channel
|
134
134
|
# Private channel to leave
|
@@ -141,11 +141,12 @@ module Slack
|
|
141
141
|
end
|
142
142
|
|
143
143
|
#
|
144
|
-
#
|
145
|
-
# The list of (non-deactivated) members in each private channel is also returned.
|
144
|
+
# Lists private channels that the calling user has access to.
|
146
145
|
#
|
147
146
|
# @option options [Object] :exclude_archived
|
148
147
|
# Don't return archived private channels.
|
148
|
+
# @option options [Object] :exclude_members
|
149
|
+
# Exclude the members from each group
|
149
150
|
# @see https://api.slack.com/methods/groups.list
|
150
151
|
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/groups.list.md
|
151
152
|
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/groups.list.json
|
@@ -154,7 +155,7 @@ module Slack
|
|
154
155
|
end
|
155
156
|
|
156
157
|
#
|
157
|
-
#
|
158
|
+
# Sets the read cursor in a private channel.
|
158
159
|
#
|
159
160
|
# @option options [Object] :channel
|
160
161
|
# Private channel to set reading cursor in.
|
@@ -170,7 +171,7 @@ module Slack
|
|
170
171
|
end
|
171
172
|
|
172
173
|
#
|
173
|
-
#
|
174
|
+
# Opens a private channel.
|
174
175
|
#
|
175
176
|
# @option options [Object] :channel
|
176
177
|
# Private channel to open.
|
@@ -183,7 +184,7 @@ module Slack
|
|
183
184
|
end
|
184
185
|
|
185
186
|
#
|
186
|
-
#
|
187
|
+
# Renames a private channel.
|
187
188
|
#
|
188
189
|
# @option options [Object] :channel
|
189
190
|
# Private channel to rename
|
@@ -201,7 +202,7 @@ module Slack
|
|
201
202
|
end
|
202
203
|
|
203
204
|
#
|
204
|
-
#
|
205
|
+
# Retrieve a thread of messages posted to a private channel
|
205
206
|
#
|
206
207
|
# @option options [Object] :channel
|
207
208
|
# Private channel to fetch thread from
|
@@ -217,7 +218,7 @@ module Slack
|
|
217
218
|
end
|
218
219
|
|
219
220
|
#
|
220
|
-
#
|
221
|
+
# Sets the purpose for a private channel.
|
221
222
|
#
|
222
223
|
# @option options [Object] :channel
|
223
224
|
# Private channel to set the purpose of
|
@@ -233,7 +234,7 @@ module Slack
|
|
233
234
|
end
|
234
235
|
|
235
236
|
#
|
236
|
-
#
|
237
|
+
# Sets the topic for a private channel.
|
237
238
|
#
|
238
239
|
# @option options [Object] :channel
|
239
240
|
# Private channel to set the topic of
|
@@ -249,7 +250,7 @@ module Slack
|
|
249
250
|
end
|
250
251
|
|
251
252
|
#
|
252
|
-
#
|
253
|
+
# Unarchives a private channel.
|
253
254
|
#
|
254
255
|
# @option options [Object] :channel
|
255
256
|
# Private channel to unarchive
|
data/lib/slack/endpoint/im.rb
CHANGED
@@ -4,7 +4,7 @@ module Slack
|
|
4
4
|
module Endpoint
|
5
5
|
module Im
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# Close a direct message channel.
|
8
8
|
#
|
9
9
|
# @option options [Object] :channel
|
10
10
|
# Direct message channel to close.
|
@@ -17,20 +17,18 @@ module Slack
|
|
17
17
|
end
|
18
18
|
|
19
19
|
#
|
20
|
-
#
|
21
|
-
# To read the entire history for a direct message channel, call the method with no latest or
|
22
|
-
# oldest arguments, and then continue paging using the instructions below.
|
20
|
+
# Fetches history of messages and events from direct message channel.
|
23
21
|
#
|
24
22
|
# @option options [Object] :channel
|
25
23
|
# Direct message channel to fetch history for.
|
24
|
+
# @option options [Object] :count
|
25
|
+
# Number of messages to return, between 1 and 1000.
|
26
|
+
# @option options [Object] :inclusive
|
27
|
+
# Include messages with latest or oldest timestamp in results.
|
26
28
|
# @option options [Object] :latest
|
27
29
|
# End of time range of messages to include in results.
|
28
30
|
# @option options [Object] :oldest
|
29
31
|
# Start of time range of messages to include in results.
|
30
|
-
# @option options [Object] :inclusive
|
31
|
-
# Include messages with latest or oldest timestamp in results.
|
32
|
-
# @option options [Object] :count
|
33
|
-
# Number of messages to return, between 1 and 1000.
|
34
32
|
# @option options [Object] :unreads
|
35
33
|
# Include unread_count_display in the output?
|
36
34
|
# @see https://api.slack.com/methods/im.history
|
@@ -42,8 +40,12 @@ module Slack
|
|
42
40
|
end
|
43
41
|
|
44
42
|
#
|
45
|
-
#
|
43
|
+
# Lists direct message channels for the calling user.
|
46
44
|
#
|
45
|
+
# @option options [Object] :cursor
|
46
|
+
# Paginate through collections of data by setting the cursor parameter to a next_cursor attribute returned by a previous request's response_metadata. Default value fetches the first "page" of the collection. See pagination for more detail.
|
47
|
+
# @option options [Object] :limit
|
48
|
+
# The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.
|
47
49
|
# @see https://api.slack.com/methods/im.list
|
48
50
|
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/im.list.md
|
49
51
|
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/im.list.json
|
@@ -52,7 +54,7 @@ module Slack
|
|
52
54
|
end
|
53
55
|
|
54
56
|
#
|
55
|
-
#
|
57
|
+
# Sets the read cursor in a direct message channel.
|
56
58
|
#
|
57
59
|
# @option options [Object] :channel
|
58
60
|
# Direct message channel to set reading cursor in.
|
@@ -68,10 +70,12 @@ module Slack
|
|
68
70
|
end
|
69
71
|
|
70
72
|
#
|
71
|
-
#
|
73
|
+
# Opens a direct message channel.
|
72
74
|
#
|
73
75
|
# @option options [Object] :user
|
74
76
|
# User to open a direct message channel with.
|
77
|
+
# @option options [Object] :include_locale
|
78
|
+
# Set this to true to receive the locale for this im. Defaults to false
|
75
79
|
# @option options [Object] :return_im
|
76
80
|
# Boolean, indicates you want the full IM channel definition in the response.
|
77
81
|
# @see https://api.slack.com/methods/im.open
|
@@ -83,7 +87,7 @@ module Slack
|
|
83
87
|
end
|
84
88
|
|
85
89
|
#
|
86
|
-
#
|
90
|
+
# Retrieve a thread of messages posted to a direct message conversation
|
87
91
|
#
|
88
92
|
# @option options [Object] :channel
|
89
93
|
# Direct message channel to fetch thread from
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# This file was auto-generated by lib/generators/tasks/generate.rb
|
2
|
+
|
3
|
+
module Slack
|
4
|
+
module Endpoint
|
5
|
+
module Migration
|
6
|
+
#
|
7
|
+
# For Enterprise Grid workspaces, map local user IDs to global user IDs
|
8
|
+
#
|
9
|
+
# @option options [Object] :users
|
10
|
+
# A comma-separated list of user ids, up to 400 per request
|
11
|
+
# @option options [Object] :to_old
|
12
|
+
# Specify true to convert W global user IDs to workspace-specific U IDs. Defaults to false.
|
13
|
+
# @see https://api.slack.com/methods/migration.exchange
|
14
|
+
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/migration.exchange.md
|
15
|
+
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/migration.exchange.json
|
16
|
+
def migration_exchange(options={})
|
17
|
+
throw ArgumentError.new("Required arguments :users missing") if options[:users].nil?
|
18
|
+
post("migration.exchange", options)
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
data/lib/slack/endpoint/mpim.rb
CHANGED
@@ -4,7 +4,7 @@ module Slack
|
|
4
4
|
module Endpoint
|
5
5
|
module Mpim
|
6
6
|
#
|
7
|
-
#
|
7
|
+
# Closes a multiparty direct message channel.
|
8
8
|
#
|
9
9
|
# @option options [Object] :channel
|
10
10
|
# MPIM to close.
|
@@ -17,20 +17,18 @@ module Slack
|
|
17
17
|
end
|
18
18
|
|
19
19
|
#
|
20
|
-
#
|
21
|
-
# To read the entire history for a multiparty direct message, call the method with no latest or
|
22
|
-
# oldest arguments, and then continue paging using the instructions below.
|
20
|
+
# Fetches history of messages and events from a multiparty direct message.
|
23
21
|
#
|
24
22
|
# @option options [Object] :channel
|
25
23
|
# Multiparty direct message to fetch history for.
|
24
|
+
# @option options [Object] :count
|
25
|
+
# Number of messages to return, between 1 and 1000.
|
26
|
+
# @option options [Object] :inclusive
|
27
|
+
# Include messages with latest or oldest timestamp in results.
|
26
28
|
# @option options [Object] :latest
|
27
29
|
# End of time range of messages to include in results.
|
28
30
|
# @option options [Object] :oldest
|
29
31
|
# Start of time range of messages to include in results.
|
30
|
-
# @option options [Object] :inclusive
|
31
|
-
# Include messages with latest or oldest timestamp in results.
|
32
|
-
# @option options [Object] :count
|
33
|
-
# Number of messages to return, between 1 and 1000.
|
34
32
|
# @option options [Object] :unreads
|
35
33
|
# Include unread_count_display in the output?
|
36
34
|
# @see https://api.slack.com/methods/mpim.history
|
@@ -42,7 +40,7 @@ module Slack
|
|
42
40
|
end
|
43
41
|
|
44
42
|
#
|
45
|
-
#
|
43
|
+
# Lists multiparty direct message channels for the calling user.
|
46
44
|
#
|
47
45
|
# @see https://api.slack.com/methods/mpim.list
|
48
46
|
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/mpim.list.md
|
@@ -52,7 +50,7 @@ module Slack
|
|
52
50
|
end
|
53
51
|
|
54
52
|
#
|
55
|
-
#
|
53
|
+
# Sets the read cursor in a multiparty direct message channel.
|
56
54
|
#
|
57
55
|
# @option options [Object] :channel
|
58
56
|
# multiparty direct message channel to set reading cursor in.
|
@@ -81,7 +79,7 @@ module Slack
|
|
81
79
|
end
|
82
80
|
|
83
81
|
#
|
84
|
-
#
|
82
|
+
# Retrieve a thread of messages posted to a direct message conversation from a multiparty direct message.
|
85
83
|
#
|
86
84
|
# @option options [Object] :channel
|
87
85
|
# Multiparty direct message channel to fetch thread from.
|
data/lib/slack/endpoint/oauth.rb
CHANGED
@@ -4,8 +4,7 @@ module Slack
|
|
4
4
|
module Endpoint
|
5
5
|
module Oauth
|
6
6
|
#
|
7
|
-
#
|
8
|
-
# This is used as part of the OAuth authentication flow.
|
7
|
+
# Exchanges a temporary OAuth code for an API token.
|
9
8
|
#
|
10
9
|
# @option options [Object] :client_id
|
11
10
|
# Issued when you created your application.
|
@@ -25,6 +24,29 @@ module Slack
|
|
25
24
|
post("oauth.access", options)
|
26
25
|
end
|
27
26
|
|
27
|
+
#
|
28
|
+
# Exchanges a temporary OAuth verifier code for a workspace token.
|
29
|
+
#
|
30
|
+
# @option options [Object] :client_id
|
31
|
+
# Issued when you created your application.
|
32
|
+
# @option options [Object] :client_secret
|
33
|
+
# Issued when you created your application.
|
34
|
+
# @option options [Object] :code
|
35
|
+
# The code param returned via the OAuth callback.
|
36
|
+
# @option options [Object] :redirect_uri
|
37
|
+
# This must match the originally submitted URI (if one was sent).
|
38
|
+
# @option options [Object] :single_channel
|
39
|
+
# Request the user to add your app only to a single channel.
|
40
|
+
# @see https://api.slack.com/methods/oauth.token
|
41
|
+
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/oauth.token.md
|
42
|
+
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/oauth.token.json
|
43
|
+
def oauth_token(options={})
|
44
|
+
throw ArgumentError.new("Required arguments :client_id missing") if options[:client_id].nil?
|
45
|
+
throw ArgumentError.new("Required arguments :client_secret missing") if options[:client_secret].nil?
|
46
|
+
throw ArgumentError.new("Required arguments :code missing") if options[:code].nil?
|
47
|
+
post("oauth.token", options)
|
48
|
+
end
|
49
|
+
|
28
50
|
end
|
29
51
|
end
|
30
52
|
end
|
data/lib/slack/endpoint/pins.rb
CHANGED
@@ -4,8 +4,7 @@ module Slack
|
|
4
4
|
module Endpoint
|
5
5
|
module Pins
|
6
6
|
#
|
7
|
-
#
|
8
|
-
# The channel argument is required and one of file, file_comment, or timestamp must also be specified.
|
7
|
+
# Pins an item to a channel.
|
9
8
|
#
|
10
9
|
# @option options [Object] :channel
|
11
10
|
# Channel to pin the item in.
|
@@ -24,7 +23,7 @@ module Slack
|
|
24
23
|
end
|
25
24
|
|
26
25
|
#
|
27
|
-
#
|
26
|
+
# Lists items pinned to a channel.
|
28
27
|
#
|
29
28
|
# @option options [Object] :channel
|
30
29
|
# Channel to get pinned items for.
|
@@ -37,8 +36,7 @@ module Slack
|
|
37
36
|
end
|
38
37
|
|
39
38
|
#
|
40
|
-
#
|
41
|
-
# The channel argument is required and one of file, file_comment, or timestamp must also be specified.
|
39
|
+
# Un-pins an item from a channel.
|
42
40
|
#
|
43
41
|
# @option options [Object] :channel
|
44
42
|
# Channel where the item is pinned to.
|
@@ -4,17 +4,16 @@ module Slack
|
|
4
4
|
module Endpoint
|
5
5
|
module Reactions
|
6
6
|
#
|
7
|
-
#
|
8
|
-
# One of file, file_comment, or the combination of channel and timestamp must be specified.
|
7
|
+
# Adds a reaction to an item.
|
9
8
|
#
|
10
9
|
# @option options [Object] :name
|
11
10
|
# Reaction (emoji) name.
|
11
|
+
# @option options [Object] :channel
|
12
|
+
# Channel where the message to add reaction to was posted.
|
12
13
|
# @option options [Object] :file
|
13
14
|
# File to add reaction to.
|
14
15
|
# @option options [Object] :file_comment
|
15
16
|
# File comment to add reaction to.
|
16
|
-
# @option options [Object] :channel
|
17
|
-
# Channel where the message to add reaction to was posted.
|
18
17
|
# @option options [Object] :timestamp
|
19
18
|
# Timestamp of the message to add reaction to.
|
20
19
|
# @see https://api.slack.com/methods/reactions.add
|
@@ -26,18 +25,18 @@ module Slack
|
|
26
25
|
end
|
27
26
|
|
28
27
|
#
|
29
|
-
#
|
28
|
+
# Gets reactions for an item.
|
30
29
|
#
|
30
|
+
# @option options [Object] :channel
|
31
|
+
# Channel where the message to get reactions for was posted.
|
31
32
|
# @option options [Object] :file
|
32
33
|
# File to get reactions for.
|
33
34
|
# @option options [Object] :file_comment
|
34
35
|
# File comment to get reactions for.
|
35
|
-
# @option options [Object] :channel
|
36
|
-
# Channel where the message to get reactions for was posted.
|
37
|
-
# @option options [Object] :timestamp
|
38
|
-
# Timestamp of the message to get reactions for.
|
39
36
|
# @option options [Object] :full
|
40
37
|
# If true always return the complete reaction list.
|
38
|
+
# @option options [Object] :timestamp
|
39
|
+
# Timestamp of the message to get reactions for.
|
41
40
|
# @see https://api.slack.com/methods/reactions.get
|
42
41
|
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/reactions.get.md
|
43
42
|
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/reactions.get.json
|
@@ -46,16 +45,16 @@ module Slack
|
|
46
45
|
end
|
47
46
|
|
48
47
|
#
|
49
|
-
#
|
48
|
+
# Lists reactions made by a user.
|
50
49
|
#
|
51
|
-
# @option options [Object] :user
|
52
|
-
# Show reactions made by this user. Defaults to the authed user.
|
53
|
-
# @option options [Object] :full
|
54
|
-
# If true always return the complete reaction list.
|
55
50
|
# @option options [Object] :count
|
56
51
|
# Number of items to return per page.
|
52
|
+
# @option options [Object] :full
|
53
|
+
# If true always return the complete reaction list.
|
57
54
|
# @option options [Object] :page
|
58
55
|
# Page number of results to return.
|
56
|
+
# @option options [Object] :user
|
57
|
+
# Show reactions made by this user. Defaults to the authed user.
|
59
58
|
# @see https://api.slack.com/methods/reactions.list
|
60
59
|
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/reactions.list.md
|
61
60
|
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/reactions.list.json
|
@@ -64,17 +63,16 @@ module Slack
|
|
64
63
|
end
|
65
64
|
|
66
65
|
#
|
67
|
-
#
|
68
|
-
# One of file, file_comment, or the combination of channel and timestamp must be specified.
|
66
|
+
# Removes a reaction from an item.
|
69
67
|
#
|
70
68
|
# @option options [Object] :name
|
71
69
|
# Reaction (emoji) name.
|
70
|
+
# @option options [Object] :channel
|
71
|
+
# Channel where the message to remove reaction from was posted.
|
72
72
|
# @option options [Object] :file
|
73
73
|
# File to remove reaction from.
|
74
74
|
# @option options [Object] :file_comment
|
75
75
|
# File comment to remove reaction from.
|
76
|
-
# @option options [Object] :channel
|
77
|
-
# Channel where the message to remove reaction from was posted.
|
78
76
|
# @option options [Object] :timestamp
|
79
77
|
# Timestamp of the message to remove reaction from.
|
80
78
|
# @see https://api.slack.com/methods/reactions.remove
|