module Slack::Web::Api::Endpoints::Channels

def channels_history(options = {})

Other tags:
    See: https://github.com/dblock/slack-api-ref/blob/master/methods/channels/channels.history.json -
    See: https://api.slack.com/methods/channels.history -

Options Hash: (**options)
  • :unreads (Object) --
  • :inclusive (Object) --
  • :oldest (timestamp) --
  • :latest (timestamp) --
  • :channel (channel) --
def channels_history(options = {})
  throw ArgumentError.new('Required arguments :channel missing') if options[:channel].nil?
  options = options.merge(channel: channels_id(options)['channel']['id']) if options[:channel]
  post('channels.history', options)
end