Sha256: 848ed2c3d1fe5eb4b6c390e6003e6d176be96171489a31c7892f3f8f238db7f0
Contents?: true
Size: 1000 Bytes
Versions: 1
Compression:
Stored size: 1000 Bytes
Contents
# frozen_string_literal: true # This file was auto-generated by lib/tasks/web.rake desc 'AdminConversations methods.' command 'admin_conversations' do |g| g.desc 'Set the workspaces in an Enterprise grid org that connect to a channel.' g.long_desc %( Set the workspaces in an Enterprise grid org that connect to a channel. ) g.command 'setTeams' do |c| 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: "The list of workspaces to which the channel should be shared. Not required if the channel is being shared orgwide. Example: ['T1234', 'T5678']." 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.action do |_global_options, options, _args| puts JSON.dump($client.admin_conversations_setTeams(options)) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-0.14.6 | bin/commands/admin_conversations.rb |