You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
3
3
*[#581](https://github.com/slack-ruby/slack-ruby-client/pull/581): Migrate Danger to use danger-pr-comment workflow - [@dblock](https://github.com/dblock).
4
4
*[#583](https://github.com/slack-ruby/slack-ruby-client/pull/583): Not found errors raised by id_for use more specific error classes when they exist - [@eizengan](https://github.com/eizengan).
5
+
*[#578](https://github.com/slack-ruby/slack-ruby-client/pull/578): Update API from [slack-api-ref@3275786](https://github.com/slack-ruby/slack-api-ref/commit/3275786) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
Copy file name to clipboardExpand all lines: bin/commands/assistant_threads.rb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,8 @@ class App
11
11
g.command'setStatus'do |c|
12
12
c.flag'channel_id',desc: 'Channel ID containing the assistant thread.'
13
13
c.flag'thread_ts',desc: 'Message timestamp of the thread of where to set the status.'
14
-
c.flag'status',desc: "Status of the specified bot user, e.g. 'is thinking...'."
15
-
c.flag'loading_messages',desc: 'The list of messages to rotate through as a loading indicator.'
14
+
c.flag'status',desc: "Status of the specified bot user, e.g., 'is thinking...'. A two minute timeout applies, which will cause the status to be removed if no message has been sent."
15
+
c.flag'loading_messages',desc: 'The list of messages to rotate through as a loading indicator. Maximum of 10 messages.'
Copy file name to clipboardExpand all lines: bin/commands/chat.rb
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ class App
10
10
g.long_desc%( Appends text to an existing streaming conversation. )
11
11
g.command'appendStream'do |c|
12
12
c.flag'channel',desc: 'An encoded ID that represents a channel, private group, or DM.'
13
+
c.flag'chunks',desc: 'An array of streaming chunks. Chunks can be markdown text chunks, task update chunks, and plan update chunks.'
13
14
c.flag'ts',desc: 'The timestamp of the streaming message.'
14
15
c.flag'markdown_text',desc: 'Accepts message text formatted in markdown. Limit this field to 12,000 characters. This text is what will be appended to the message received so far.'
15
16
c.actiondo |_global_options,options,_args|
@@ -103,7 +104,7 @@ class App
103
104
c.flag'icon_url',desc: 'URL to an image to use as the icon for this message.'
104
105
c.flag'link_names',desc: 'Find and link user groups. No longer supports linking individual users; use syntax shown in Mentioning Users instead.'
105
106
c.flag'markdown_text',desc: 'Accepts message text formatted in markdown. This argument should not be used in conjunction with blocks or text. Limit this field to 12,000 characters.'
106
-
c.flag'metadata',desc: 'JSON object with event_type and event_payload fields, presented as a URL-encoded string. Metadata you post to Slack is accessible to any app or user who is a member of that workspace.'
107
+
c.flag'metadata',desc: 'JSON object with event_type and event_payload fields, presented as a URL-encoded string. You can also provide Work Object entity metadata using this parameter. Metadata you post to Slack is accessible to any app or user who is a member of that workspace.'
107
108
c.flag'mrkdwn',desc: 'Disable Slack markup parsing by setting to false. Enabled by default.'
108
109
c.flag'parse',desc: 'Change how messages are treated. See below.'
109
110
c.flag'reply_broadcast',desc: 'Used in conjunction with thread_ts and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to false.'
@@ -142,11 +143,13 @@ class App
142
143
g.desc'Starts a new streaming conversation.'
143
144
g.long_desc%( Starts a new streaming conversation. )
144
145
g.command'startStream'do |c|
145
-
c.flag'channel',desc: 'An encoded ID that represents a channel, private group, or DM.'
146
+
c.flag'channel',desc: 'An encoded ID that represents a channel thread or DM.'
147
+
c.flag'chunks',desc: 'An array of streaming chunks. Chunks can be markdown text chunks, task update chunks, and plan update chunks.'
146
148
c.flag'markdown_text',desc: 'Accepts message text formatted in markdown. Limit this field to 12,000 characters.'
147
149
c.flag'thread_ts',desc: "Provide another message's ts value to reply to. Streamed messages should always be replies to a user request."
148
150
c.flag'recipient_user_id',desc: 'The encoded ID of the user to receive the streaming text. Required when streaming to channels.'
149
151
c.flag'recipient_team_id',desc: 'The encoded ID of the team the user receiving the streaming text belongs to. Required when streaming to channels.'
152
+
c.flag'task_display_mode',desc: "Specifies how tasks are displayed in the message. A timeline displays individual tasks with text in sequential order, and plan displays all tasks together, with the first tasks's placement determining the placement of the rest of the tasks."
150
153
c.actiondo |_global_options,options,_args|
151
154
putsJSON.dump(@client.chat_startStream(options))
152
155
end
@@ -156,6 +159,7 @@ class App
156
159
g.long_desc%( Stops a streaming conversation. )
157
160
g.command'stopStream'do |c|
158
161
c.flag'channel',desc: 'An encoded ID that represents a channel, private group, or DM.'
162
+
c.flag'chunks',desc: 'An array of streaming chunks. Chunks can be markdown text chunks, task update chunks, and plan update chunks.'
159
163
c.flag'ts',desc: 'The timestamp of the streaming message.'
160
164
c.flag'markdown_text',desc: 'Accepts message text formatted in markdown. Limit this field to 12,000 characters.'
161
165
c.flag'blocks',desc: 'A list of blocks that will be rendered at the bottom of the finalized message.'
@@ -177,7 +181,7 @@ class App
177
181
c.flag'user_auth_blocks',desc: 'Provide a JSON based array of structured blocks presented as URL-encoded string to send as an ephemeral message to the user as invitation to authenticate further and enable full unfurling behavior.'
178
182
c.flag'unfurl_id',desc: 'The ID of the link to unfurl. Both unfurl_id and source must be provided together, or channel and ts must be provided together.'
179
183
c.flag'source',desc: 'The source of the link to unfurl. The source may either be composer, when the link is inside the message composer, or conversations_history, when the link has been posted to a conversation.'
180
-
c.flag'metadata',desc: 'JSON object with entity_type and entity_payload fields, presented as a URL-encoded string. Either unfurls or metadata must be provided.'
184
+
c.flag'metadata',desc: 'JSON object with an entities field providing an array of Work Object entities. Either unfurls or metadata must be provided.'
181
185
c.actiondo |_global_options,options,_args|
182
186
putsJSON.dump(@client.chat_unfurl(options))
183
187
end
@@ -188,6 +192,7 @@ class App
188
192
g.command'update'do |c|
189
193
c.flag'as_user',desc: 'Pass true to update the message as the authed user. Bot users in this context are considered authed users.'
190
194
c.flag'attachments',desc: 'A JSON-based array of structured attachments, presented as a URL-encoded string.'
195
+
c.flag'unfurled_attachments',desc: 'A JSON-based array of structured attachments, presented as a URL-encoded string.'
191
196
c.flag'blocks',desc: 'A JSON-based array of structured blocks, presented as a URL-encoded string.'
192
197
c.flag'markdown_text',desc: 'Accepts message text formatted in markdown. This argument should not be used in conjunction with blocks or text. Limit this field to 12,000 characters.'
193
198
c.flag'metadata',desc: "JSON object with event_type and event_payload fields, presented as a URL-encoded string. If you don't include this field, the message's previous metadata will be retained. To remove previous metadata, include an empty object for this field. Metadata you post to Slack is accessible to any app or user who is a member of that workspace."
Copy file name to clipboardExpand all lines: bin/commands/files.rb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -63,8 +63,8 @@ class App
63
63
end
64
64
end
65
65
66
-
g.desc'List for a team, in a channel, or from a user with applied filters.'
67
-
g.long_desc%( List for a team, in a channel, or from a user with applied filters. )
66
+
g.desc'List files for a team, in a channel, or from a user with applied filters.'
67
+
g.long_desc%( List files for a team, in a channel, or from a user with applied filters. )
68
68
g.command'list'do |c|
69
69
c.flag'channel',desc: 'Filter files appearing in a specific channel, indicated by its ID.'
70
70
c.flag'show_files_hidden_by_limit',desc: 'Show truncated file info for files hidden due to being too old, and the team who owns the file being over the file limit.'
# This file was auto-generated by lib/tasks/web.rake
3
+
4
+
moduleSlack
5
+
moduleCli
6
+
classApp
7
+
desc'OauthV2User methods.'
8
+
command'oauth_v2_user'do |g|
9
+
g.desc'Exchanges a temporary OAuth verifier code for a user access token.'
10
+
g.long_desc%( Exchanges a temporary OAuth verifier code for a user access token. )
11
+
g.command'access'do |c|
12
+
c.flag'client_id',desc: 'Issued when you created your application. If possible, avoid sending client_id and client_secret as parameters in your request and instead supply the Client ID and Client Secret using the HTTP Basic authentication scheme.'
13
+
c.flag'client_secret',desc: 'Issued when you created your application. If possible, avoid sending client_id and client_secret as parameters in your request and instead supply the Client ID and Client Secret using the HTTP Basic authentication scheme.'
14
+
c.flag'code',desc: 'The code param returned via the OAuth callback.'
15
+
c.flag'code_verifier',desc: 'The code_verifier param used to generate the code_challenge originally. Used for PKCE.'
16
+
c.flag'redirect_uri',desc: 'This must match the originally submitted URI (if one was sent).'
17
+
c.flag'grant_type',desc: 'The grant_type param as described in the OAuth spec.'
18
+
c.flag'refresh_token',desc: 'The refresh_token param as described in the OAuth spec.'
0 commit comments