module Slack::Web::Api::Endpoints::Conversations
def conversations_members(options = {})
- See: https://github.com/slack-ruby/slack-api-ref/blob/master/methods/conversations/conversations.members.json -
See: https://api.slack.com/methods/conversations.members -
Options Hash:
(**options)
-
:limit
(Object
) -- -
:cursor
(Object
) -- -
:channel
(channel
) --
def conversations_members(options = {}) throw ArgumentError.new('Required arguments :channel missing') if options[:channel].nil? options = options.merge(channel: channels_id(options)['channel']['id']) if options[:channel] if block_given? Pagination::Cursor.new(self, :conversations_members, options).each do |page| yield page end else post('conversations.members', options) end end