lib/slack/web/api/endpoints/conversations.rb in slack-ruby-client-0.13.1 vs lib/slack/web/api/endpoints/conversations.rb in slack-ruby-client-0.14.0
- old
+ new
@@ -81,9 +81,11 @@
#
# @option options [channel] :channel
# Conversation ID to learn more about.
# @option options [Object] :include_locale
# Set this to true to receive the locale for this conversation. Defaults to false.
+ # @option options [Object] :include_num_members
+ # Set to true to include the member count for the specified conversation. Defaults to false.
# @see https://api.slack.com/methods/conversations.info
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/conversations/conversations.info.json
def conversations_info(options = {})
throw ArgumentError.new('Required arguments :channel missing') if options[:channel].nil?
options = options.merge(channel: channels_id(options)['channel']['id']) if options[:channel]