Sha256: 653f12553eccf24bdd95dadee7aa52effb92b62047b8216d7566360a9e0c7463
Contents?: true
Size: 1 KB
Versions: 1
Compression:
Stored size: 1 KB
Contents
# frozen_string_literal: true # This file was auto-generated by lib/tasks/web.rake module Slack module Cli class App desc 'ConversationsExternalinvitepermissions methods.' command 'conversations_externalInvitePermissions' do |g| g.desc "Upgrade or downgrade Slack Connect channel permissions between 'can post only' and 'can post and invite'." g.long_desc %( Upgrade or downgrade Slack Connect channel permissions between 'can post only' and 'can post and invite'. ) g.command 'set' do |c| c.flag 'action', desc: 'Type of action to be taken: upgrade or downgrade.' c.flag 'channel', desc: 'The channel ID to change external invite permissions for.' c.flag 'target_team', desc: 'The encoded team ID of the target team. Must be in the specified channel.' c.action do |_global_options, options, _args| puts JSON.dump(@client.conversations_externalInvitePermissions_set(options)) end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-2.4.0 | bin/commands/conversations_externalInvitePermissions.rb |