module Slack::Web::Api::Endpoints::Usergroups

def usergroups_create(options = {})

Other tags:
    See: https://github.com/slack-ruby/slack-api-ref/blob/master/methods/usergroups/usergroups.create.json -
    See: https://api.slack.com/methods/usergroups.create -

Options Hash: (**options)
  • :include_count (Object) --
  • :handle (Object) --
  • :description (Object) --
  • :channels (Object) --
  • :name (Object) --
def usergroups_create(options = {})
  throw ArgumentError.new('Required arguments :name missing') if options[:name].nil?
  post('usergroups.create', options)
end

def usergroups_disable(options = {})

Other tags:
    See: https://github.com/slack-ruby/slack-api-ref/blob/master/methods/usergroups/usergroups.disable.json -
    See: https://api.slack.com/methods/usergroups.disable -

Options Hash: (**options)
  • :include_count (Object) --
  • :usergroup (Object) --
def usergroups_disable(options = {})
  throw ArgumentError.new('Required arguments :usergroup missing') if options[:usergroup].nil?
  post('usergroups.disable', options)
end

def usergroups_enable(options = {})

Other tags:
    See: https://github.com/slack-ruby/slack-api-ref/blob/master/methods/usergroups/usergroups.enable.json -
    See: https://api.slack.com/methods/usergroups.enable -

Options Hash: (**options)
  • :include_count (Object) --
  • :usergroup (Object) --
def usergroups_enable(options = {})
  throw ArgumentError.new('Required arguments :usergroup missing') if options[:usergroup].nil?
  post('usergroups.enable', options)
end

def usergroups_list(options = {})

Other tags:
    See: https://github.com/slack-ruby/slack-api-ref/blob/master/methods/usergroups/usergroups.list.json -
    See: https://api.slack.com/methods/usergroups.list -

Options Hash: (**options)
  • :include_users (Object) --
  • :include_disabled (Object) --
  • :include_count (Object) --
def usergroups_list(options = {})
  post('usergroups.list', options)
end

def usergroups_update(options = {})

Other tags:
    See: https://github.com/slack-ruby/slack-api-ref/blob/master/methods/usergroups/usergroups.update.json -
    See: https://api.slack.com/methods/usergroups.update -

Options Hash: (**options)
  • :name (Object) --
  • :include_count (Object) --
  • :handle (Object) --
  • :description (Object) --
  • :channels (Object) --
  • :usergroup (Object) --
def usergroups_update(options = {})
  throw ArgumentError.new('Required arguments :usergroup missing') if options[:usergroup].nil?
  post('usergroups.update', options)
end