Skip to content

Commit fc50267

Browse files
committed
Update API from slack-api-ref@1ee282e (2025-02-19)
1 parent 720b75f commit fc50267

File tree

6 files changed

+4
-6
lines changed

6 files changed

+4
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
### 2.5.3 (Next)
22

3+
* [#547](https://github.com/slack-ruby/slack-ruby-client/pull/547): Update API from [slack-api-ref@1ee282e](https://github.com/slack-ruby/slack-api-ref/commit/1ee282e) - [@slack-ruby-ci-bot](https://github.com/apps/slack-ruby-ci-bot).
34
* Your contribution here.
45

56
### 2.5.2 (2025/02/19)

bin/commands/admin_conversations.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ class App
219219
c.flag 'channel_id', desc: 'The encoded channel_id to add or remove to workspaces.'
220220
c.flag 'org_channel', desc: 'True if channel has to be converted to an org channel.'
221221
c.flag 'target_team_ids', desc: 'A comma-separated list of workspaces to which the channel should be shared. Not required if the channel is being shared org-wide.'
222-
c.flag 'team_id', desc: 'The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel.'
222+
c.flag 'team_id', desc: 'The workspace to which the channel belongs if the channel is a local workspace channel. Omit this argument if the channel is a cross-workspace or org-wide shared channel.'
223223
c.action do |_global_options, options, _args|
224224
puts JSON.dump(@client.admin_conversations_setTeams(options))
225225
end

bin/commands/usergroups.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ class App
5151
c.flag 'include_disabled', desc: 'Include disabled User Groups.'
5252
c.flag 'include_users', desc: 'Include the list of users for each User Group.'
5353
c.flag 'team_id', desc: 'encoded team id to list user groups in, required if org token is used.'
54-
c.flag 'usergroup_id', desc: 'The id of the usergroup you would like to filter the results down to.'
5554
c.action do |_global_options, options, _args|
5655
puts JSON.dump(@client.usergroups_list(options))
5756
end

lib/slack/web/api/endpoints/admin_conversations.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ def admin_conversations_setCustomRetention(options = {})
338338
# @option options [array] :target_team_ids
339339
# A comma-separated list of workspaces to which the channel should be shared. Not required if the channel is being shared org-wide.
340340
# @option options [Object] :team_id
341-
# The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel.
341+
# The workspace to which the channel belongs if the channel is a local workspace channel. Omit this argument if the channel is a cross-workspace or org-wide shared channel.
342342
# @see https://api.slack.com/methods/admin.conversations.setTeams
343343
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.conversations/admin.conversations.setTeams.json
344344
def admin_conversations_setTeams(options = {})

lib/slack/web/api/endpoints/usergroups.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ def usergroups_enable(options = {})
7575
# Include the list of users for each User Group.
7676
# @option options [string] :team_id
7777
# encoded team id to list user groups in, required if org token is used.
78-
# @option options [Object] :usergroup_id
79-
# The id of the usergroup you would like to filter the results down to.
8078
# @see https://api.slack.com/methods/usergroups.list
8179
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/usergroups/usergroups.list.json
8280
def usergroups_list(options = {})

0 commit comments

Comments
 (0)