module Slack::Web::Api::Endpoints::Mpim
def mpim_history(options = {})
- See: https://github.com/dblock/slack-api-ref/blob/master/methods/mpim/mpim.history.json -
See: https://api.slack.com/methods/mpim.history -
Options Hash:
(**options)
-
:unreads
(Object
) -- -
:oldest
(timestamp
) -- -
:latest
(timestamp
) -- -
:inclusive
(Object
) -- -
:channel
(channel
) --
def mpim_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('mpim.history', options) end