Skip to content

Commit 0606073

Browse files
committed
Added include_num_members to conversations.
1 parent c6f0719 commit 0606073

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

bin/commands/conversations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
g.command 'info' do |c|
5151
c.flag 'channel', desc: 'Conversation ID to learn more about.'
5252
c.flag 'include_locale', desc: 'Set this to true to receive the locale for this conversation. Defaults to false.'
53+
c.flag 'include_num_members', desc: 'Set to true to include the member count for the specified conversation. Defaults to false.'
5354
c.action do |_global_options, options, _args|
5455
puts JSON.dump($client.conversations_info(options))
5556
end

lib/slack/web/api/endpoints/conversations.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ def conversations_history(options = {})
8383
# Conversation ID to learn more about.
8484
# @option options [Object] :include_locale
8585
# Set this to true to receive the locale for this conversation. Defaults to false.
86+
# @option options [Object] :include_num_members
87+
# Set to true to include the member count for the specified conversation. Defaults to false.
8688
# @see https://api.slack.com/methods/conversations.info
8789
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/conversations/conversations.info.json
8890
def conversations_info(options = {})

lib/slack/web/api/slack-api-ref

Submodule slack-api-ref updated 76 files

0 commit comments

Comments
 (0)