Skip to content

Commit 6efcebf

Browse files
committed
Update API from slack-api-ref@1ee282e (2025-02-18)
1 parent ec00bc4 commit 6efcebf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

bin/commands/admin_conversations.rb

+1-1
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

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

+1-1
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 = {})

0 commit comments

Comments
 (0)