We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd41b8f commit 8097e0bCopy full SHA for 8097e0b
lib/slack/web/api/mixins/conversations.id.rb
@@ -16,14 +16,15 @@ def conversations_id(options = {})
16
name = options[:channel]
17
raise ArgumentError, 'Required arguments :channel missing' if name.nil?
18
19
+ limit = respond_to?(:conversations_id_page_size) ? conversations_id_page_size : 100
20
id_for(
21
:channel,
22
name,
23
'#',
24
:conversations_list,
25
:channels,
26
'channel_not_found',
- enum_method_options: { limit: conversations_id_page_size }
27
+ enum_method_options: { limit: limit }
28
)
29
end
30
0 commit comments