lib/slack/web/api/endpoints/usergroups_users.rb in slack-ruby-client-0.15.1 vs lib/slack/web/api/endpoints/usergroups_users.rb in slack-ruby-client-0.16.0

- old
+ new

@@ -11,10 +11,12 @@ # # @option options [Object] :usergroup # The encoded ID of the User Group to update. # @option options [Object] :include_disabled # Allow results that involve disabled User Groups. + # @option options [Object] :team_id + # encoded team id where the user group exists, required if org token is used. # @see https://api.slack.com/methods/usergroups.users.list # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/usergroups.users/usergroups.users.list.json def usergroups_users_list(options = {}) throw ArgumentError.new('Required arguments :usergroup missing') if options[:usergroup].nil? post('usergroups.users.list', options) @@ -27,9 +29,11 @@ # The encoded ID of the User Group to update. # @option options [Object] :users # A comma separated string of encoded user IDs that represent the entire list of users for the User Group. # @option options [Object] :include_count # Include the number of users in the User Group. + # @option options [Object] :team_id + # encoded team id where the user group exists, required if org token is used. # @see https://api.slack.com/methods/usergroups.users.update # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/usergroups.users/usergroups.users.update.json def usergroups_users_update(options = {}) throw ArgumentError.new('Required arguments :usergroup missing') if options[:usergroup].nil? throw ArgumentError.new('Required arguments :users missing') if options[:users].nil?