lib/slack/web/api/endpoints/conversations.rb in slack-ruby-client-0.11.1 vs lib/slack/web/api/endpoints/conversations.rb in slack-ruby-client-0.12.0
- old
+ new
@@ -36,9 +36,11 @@
#
# @option options [Object] :name
# Name of the public or private channel to create.
# @option options [Object] :is_private
# Create a private channel instead of a public one.
+ # @option options [Object] :user_ids
+ # Required for workspace apps. A list of between 1 and 30 human users that will be added to the newly-created conversation. This argument has no effect when used by classic Slack apps.
# @see https://api.slack.com/methods/conversations.create
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/conversations/conversations.create.json
def conversations_create(options = {})
throw ArgumentError.new('Required arguments :name missing') if options[:name].nil?
post('conversations.create', options)