Skip to content

Commit

Permalink
Update API from slack-api-ref@1ee282e (2025-02-20)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Feb 20, 2025
1 parent 720b75f commit d97b7ed
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
### 2.5.3 (Next)

* [#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).
* Your contribution here.

### 2.5.2 (2025/02/19)
Expand Down
2 changes: 1 addition & 1 deletion bin/commands/admin_conversations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ class App
c.flag 'channel_id', desc: 'The encoded channel_id to add or remove to workspaces.'
c.flag 'org_channel', desc: 'True if channel has to be converted to an org channel.'
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.'
c.flag 'team_id', desc: 'The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel.'
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.'
c.action do |_global_options, options, _args|
puts JSON.dump(@client.admin_conversations_setTeams(options))
end
Expand Down
1 change: 0 additions & 1 deletion bin/commands/usergroups.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ class App
c.flag 'include_disabled', desc: 'Include disabled User Groups.'
c.flag 'include_users', desc: 'Include the list of users for each User Group.'
c.flag 'team_id', desc: 'encoded team id to list user groups in, required if org token is used.'
c.flag 'usergroup_id', desc: 'The id of the usergroup you would like to filter the results down to.'
c.action do |_global_options, options, _args|
puts JSON.dump(@client.usergroups_list(options))
end
Expand Down
2 changes: 1 addition & 1 deletion lib/slack/web/api/endpoints/admin_conversations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def admin_conversations_setCustomRetention(options = {})
# @option options [array] :target_team_ids
# A comma-separated list of workspaces to which the channel should be shared. Not required if the channel is being shared org-wide.
# @option options [Object] :team_id
# The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel.
# 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.
# @see https://api.slack.com/methods/admin.conversations.setTeams
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.conversations/admin.conversations.setTeams.json
def admin_conversations_setTeams(options = {})
Expand Down
2 changes: 0 additions & 2 deletions lib/slack/web/api/endpoints/usergroups.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ def usergroups_enable(options = {})
# Include the list of users for each User Group.
# @option options [string] :team_id
# encoded team id to list user groups in, required if org token is used.
# @option options [Object] :usergroup_id
# The id of the usergroup you would like to filter the results down to.
# @see https://api.slack.com/methods/usergroups.list
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/usergroups/usergroups.list.json
def usergroups_list(options = {})
Expand Down

0 comments on commit d97b7ed

Please sign in to comment.