module Slack::Web::Api::Endpoints::Conversations

def conversations_replies(options = {})

Other tags:
    See: https://github.com/slack-ruby/slack-api-ref/blob/master/methods/conversations/conversations.replies.json -
    See: https://api.slack.com/methods/conversations.replies -

Options Hash: (**options)
  • :oldest (timestamp) --
  • :limit (Object) --
  • :latest (timestamp) --
  • :inclusive (Object) --
  • :cursor (Object) --
  • :ts (timestamp) --
  • :channel (channel) --
def conversations_replies(options = {})
  throw ArgumentError.new('Required arguments :channel missing') if options[:channel].nil?
  throw ArgumentError.new('Required arguments :ts missing') if options[:ts].nil?
  options = options.merge(channel: channels_id(options)['channel']['id']) if options[:channel]
  if block_given?
    Pagination::Cursor.new(self, :conversations_replies, options).each do |page|
      yield page
    end
  else
    post('conversations.replies', options)
  end
end