class Slack::API::IM

Public Instance Methods

history(args = {}) click to toggle source
# File lib/slack/api/im.rb, line 4
def history(args = {})
  fail ArgumentError, 'channel is required' unless args.key?(:channel)

  get('im.history', args)
end
list(args = {}) click to toggle source
# File lib/slack/api/im.rb, line 10
def list(args = {})
  get('im.list', args)
end