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
*[#452](https://github.com/slack-ruby/slack-ruby-client/pull/452): Automatically generate Web API multi-argument requirements from docs - [@jmanian](https://github.com/jmanian).
7
7
*[#448](https://github.com/slack-ruby/slack-ruby-client/pull/448), [#453](https://github.com/slack-ruby/slack-ruby-client/pull/453): Automatically convert more Web API arguments to JSON-encoded strings - [@jmanian](https://github.com/jmanian).
8
+
*[#465](https://github.com/slack-ruby-client/pulls/465): Update API from [slack-api-ref@878be8f](https://github.com/slack-ruby/slack-api-ref/commit/878be8f) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
Copy file name to clipboardExpand all lines: bin/commands/chat.rb
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -68,12 +68,12 @@ class App
68
68
c.flag'as_user',desc: '(Legacy) Pass true to post the message as the authed user. Defaults to true if the chat:write:bot scope is not included. Otherwise, defaults to false.'
69
69
c.flag'attachments',desc: 'A JSON-based array of structured attachments, presented as a URL-encoded string.'
70
70
c.flag'blocks',desc: 'A JSON-based array of structured blocks, presented as a URL-encoded string.'
71
-
c.flag'icon_emoji',desc: 'Emoji to use as the icon for this message. Overrides icon_url. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below.'
72
-
c.flag'icon_url',desc: 'URL to an image to use as the icon for this message. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below.'
71
+
c.flag'icon_emoji',desc: 'Emoji to use as the icon for this message. Overrides icon_url.'
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
74
c.flag'parse',desc: 'Change how messages are treated. Defaults to none. See below.'
75
75
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
-
c.flag'username',desc: "Set your bot's user name. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below."
76
+
c.flag'username',desc: "Set your bot's user name."
c.flag'blocks',desc: 'A JSON-based array of structured blocks, presented as a URL-encoded string.'
88
88
c.flag'text',desc: 'The formatted text of the message to be published. If blocks are included, this will become the fallback text used in notifications.'
89
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'icon_emoji',desc: 'Emoji to use as the icon for this message. Overrides icon_url. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below.'
91
-
c.flag'icon_url',desc: 'URL to an image to use as the icon for this message. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below.'
90
+
c.flag'icon_emoji',desc: 'Emoji to use as the icon for this message. Overrides icon_url.'
91
+
c.flag'icon_url',desc: 'URL to an image to use as the icon for this message.'
92
92
c.flag'link_names',desc: 'Find and link user groups. No longer supports linking individual users; use syntax shown in Mentioning Users instead.'
93
93
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
94
c.flag'mrkdwn',desc: 'Disable Slack markup parsing by setting to false. Enabled by default.'
@@ -97,7 +97,7 @@ class App
97
97
c.flag'thread_ts',desc: "Provide another message's ts value to make this message a reply. Avoid using a reply's ts value; use its parent instead."
98
98
c.flag'unfurl_links',desc: 'Pass true to enable unfurling of primarily text-based content.'
99
99
c.flag'unfurl_media',desc: 'Pass false to disable unfurling of media content.'
100
-
c.flag'username',desc: "Set your bot's user name. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below."
100
+
c.flag'username',desc: "Set your bot's user name."
Copy file name to clipboardExpand all lines: bin/commands/stars.rb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,8 @@ class App
18
18
end
19
19
end
20
20
21
-
g.desc"List a user's saved items, formerly known as _stars_."
22
-
g.long_desc%( List a user's saved items, formerly known as _stars_. )
21
+
g.desc"List a user's saved items, formerly known as stars."
22
+
g.long_desc%( List a user's saved items, formerly known as stars. )
23
23
g.command'list'do |c|
24
24
c.flag'cursor',desc: "Parameter for pagination. Set cursor equal to the next_cursor attribute returned by the previous request's response_metadata. This parameter is optional, but pagination is mandatory: the default value simply fetches the first 'page' of the collection. See pagination for more details."
25
25
c.flag'limit',desc: "The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached."
Copy file name to clipboardExpand all lines: bin/commands/users.rb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ class App
11
11
g.command'conversations'do |c|
12
12
c.flag'cursor',desc: "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."
13
13
c.flag'exclude_archived',desc: 'Set to true to exclude archived channels from the list.'
14
-
c.flag'limit',desc: "The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000."
14
+
c.flag'limit',desc: "The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer with a max value of 999."
15
15
c.flag'team_id',desc: 'encoded team id to list conversations in, required if org token is used.'
16
16
c.flag'types',desc: 'Mix and match channel types by providing a comma-separated list of any combination of public_channel, private_channel, mpim, im.'
17
17
c.flag'user',desc: "Browse conversations by a specific user ID's membership. Non-public channels are restricted to those where the calling user shares membership."
# A JSON-based array of structured blocks, presented as a URL-encoded string.
109
109
# @option options [string] :icon_emoji
110
-
# Emoji to use as the icon for this message. Overrides icon_url. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below.
110
+
# Emoji to use as the icon for this message. Overrides icon_url.
111
111
# @option options [string] :icon_url
112
-
# URL to an image to use as the icon for this message. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below.
112
+
# URL to an image to use as the icon for this message.
113
113
# @option options [boolean] :link_names
114
114
# Find and link channel names and usernames.
115
115
# @option options [string] :parse
116
116
# Change how messages are treated. Defaults to none. See below.
117
117
# @option options [string] :thread_ts
118
118
# 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.
119
119
# @option options [string] :username
120
-
# Set your bot's user name. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below.
# (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.
145
145
# @option options [string] :icon_emoji
146
-
# Emoji to use as the icon for this message. Overrides icon_url. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below.
146
+
# Emoji to use as the icon for this message. Overrides icon_url.
147
147
# @option options [string] :icon_url
148
-
# URL to an image to use as the icon for this message. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below.
148
+
# URL to an image to use as the icon for this message.
149
149
# @option options [boolean] :link_names
150
150
# Find and link user groups. No longer supports linking individual users; use syntax shown in Mentioning Users instead.
0 commit comments