module Slack::Web::Api::Endpoints::Im

def im_close(options = {})

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

Options Hash: (**options)
  • :channel (im) --
def im_close(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('im.close', options)
end