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
@@ -4,6 +4,7 @@
4
4
*[#527](https://github.com/slack-ruby/slack-ruby-client/pull/527): Explicitly require `racc` and `ostruct` - [@dblock](https://github.com/dblock).
5
5
*[#528](https://github.com/slack-ruby/slack-ruby-client/pull/528): Don't treat asterisks in list items as italic in markdown - [@rspeicher](https://github.com/rspeicher).
6
6
*[#530](https://github.com/slack-ruby/slack-ruby-client/pull/530): Specify dependency on logger - [@rwstauner](https://github.com/rwstauner).
7
+
*[#524](https://github.com/slack-ruby-client/pulls/524): Update API from [slack-api-ref@3ec3c10](https://github.com/slack-ruby/slack-api-ref/commit/3ec3c10) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
Copy file name to clipboardExpand all lines: bin/commands/admin_workflows.rb
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,16 +10,18 @@ class App
10
10
g.long_desc%( Search workflows within the team or enterprise )
11
11
g.command'search'do |c|
12
12
c.flag'app_id',desc: 'The parent app ID for which to return workflows.'
13
-
c.flag'collaborator_ids',desc: 'Only include workflows where the provided user IDs are a manager/collaborator of that workflow.'
13
+
c.flag'collaborator_ids',desc: 'Only include workflows where all of the provided user IDs are a manager/collaborator of that workflow.'
14
14
c.flag'cursor',desc: 'Set cursor to next_cursor returned by the previous call to list items in the next page.'
15
15
c.flag'is_sales_elevate',desc: 'Filter workflows by their Sales Elevate status.'
16
16
c.flag'limit',desc: 'The number of results that will be returned by the API on each invocation.'
17
17
c.flag'no_collaborators',desc: 'Only include workflows with no collaborators in the result; default is false.'
18
18
c.flag'num_trigger_ids',desc: 'Number of trigger IDs to fetch for each workflow; default is 10.'
19
+
c.flag'publish_status',desc: 'Filter workflows by their published status.'
19
20
c.flag'query',desc: 'A search query to filter for workflow name or description.'
20
21
c.flag'sort',desc: 'The field used to sort the returned workflows.'
21
22
c.flag'sort_dir',desc: 'Sort direction. Possible values are asc for ascending order like (1, 2, 3) or (a, b, c), and desc for descending order like (3, 2, 1) or (c, b, a).'
22
23
c.flag'source',desc: 'Source of workflow creation, either from code or workflow builder.'
24
+
c.flag'step_function_ids',desc: 'Only include workflows that use all of the provided step function ids.'
23
25
c.flag'trigger_type_id',desc: 'Only include workflows with this trigger type.'
Copy file name to clipboardExpand all lines: bin/commands/chat.rb
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,7 @@ class App
71
71
c.flag'icon_emoji',desc: 'Emoji to use as the icon for this message. Overrides icon_url.'
72
72
c.flag'icon_url',desc: 'URL to an image to use as the icon for this message.'
73
73
c.flag'link_names',desc: 'Find and link channel names and usernames.'
74
+
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.'
74
75
c.flag'parse',desc: 'Change how messages are treated. Defaults to none. See below.'
75
76
c.flag'thread_ts',desc: "Provide another message's ts value to post this message in a thread. Avoid using a reply's ts value; use its parent's value instead. Ephemeral messages in threads are only shown if there is already an active thread."
76
77
c.flag'username',desc: "Set your bot's user name."
@@ -82,14 +83,15 @@ class App
82
83
g.desc'Sends a message to a channel.'
83
84
g.long_desc%( Sends a message to a channel. )
84
85
g.command'postMessage'do |c|
85
-
c.flag'channel',desc: 'Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name. See below for more details.'
86
+
c.flag'channel',desc: 'An encoded ID that represents a channel, private group, or IM channel to send the message to. See below for more details.'
86
87
c.flag'attachments',desc: 'A JSON-based array of structured attachments, presented as a URL-encoded string.'
87
88
c.flag'blocks',desc: 'A JSON-based array of structured blocks, presented as a URL-encoded string.'
88
89
c.flag'text',desc: 'How this field works and whether it is required depends on other fields you use in your API call. See below for more detail.'
89
-
c.flag'as_user',desc: '(Legacy) Pass true to post the message as the authed user instead of as a bot. Defaults to false. Can only be used by classic Slack apps. See authorship below.'
90
+
c.flag'as_user',desc: '(Legacy) Pass true to post the message as the authed user instead of as a bot. Defaults to false. Can only be used by classic apps. See legacy as_user parameter below.'
90
91
c.flag'icon_emoji',desc: 'Emoji to use as the icon for this message. Overrides icon_url.'
91
92
c.flag'icon_url',desc: 'URL to an image to use as the icon for this message.'
92
93
c.flag'link_names',desc: 'Find and link user groups. No longer supports linking individual users; use syntax shown in Mentioning Users instead.'
94
+
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.'
93
95
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.'
94
96
c.flag'mrkdwn',desc: 'Disable Slack markup parsing by setting to false. Enabled by default.'
95
97
c.flag'parse',desc: 'Change how messages are treated. See below.'
@@ -113,6 +115,7 @@ class App
113
115
c.flag'text',desc: 'How this field works and whether it is required depends on other fields you use in your API call. See below for more detail.'
114
116
c.flag'as_user',desc: 'Set to true to post the message as the authed user, instead of as a bot. Defaults to false. Cannot be used by new Slack apps. See chat.postMessage.'
115
117
c.flag'link_names',desc: 'Find and link user groups. No longer supports linking individual users; use syntax shown in Mentioning Users instead.'
118
+
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.'
116
119
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.'
117
120
c.flag'parse',desc: 'Change how messages are treated. See chat.postMessage.'
118
121
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.'
@@ -152,6 +155,7 @@ class App
152
155
c.flag'as_user',desc: 'Pass true to update the message as the authed user. Bot users in this context are considered authed users.'
153
156
c.flag'file_ids',desc: 'Array of new file ids that will be sent with this message.'
154
157
c.flag'link_names',desc: 'Find and link channel names and usernames. Defaults to none. If you do not specify a value for this field, the original value set for the message will be overwritten with the default, none.'
158
+
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.'
155
159
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."
156
160
c.flag'parse',desc: 'Change how messages are treated. Defaults to client, unlike chat.postMessage. Accepts either none or full. If you do not specify a value for this field, the original value set for the message will be overwritten with the default, client.'
157
161
c.flag'reply_broadcast',desc: 'Broadcast an existing thread reply to make it visible to everyone in the channel or conversation.'
0 commit comments