module Slack::Web::Api::Endpoints::Files

def files_info(options = {})

Other tags:
    See: https://github.com/slackhq/slack-api-docs/blob/master/methods/files.info.json -
    See: https://github.com/slackhq/slack-api-docs/blob/master/methods/files.info.md -
    See: https://api.slack.com/methods/files.info -

Options Hash: (**options)
  • :file (file) --
def files_info(options = {})
  throw ArgumentError.new('Required arguments :file missing') if options[:file].nil?
  post('files.info', options)
end

def files_list(options = {})

Other tags:
    See: https://github.com/slackhq/slack-api-docs/blob/master/methods/files.list.json -
    See: https://github.com/slackhq/slack-api-docs/blob/master/methods/files.list.md -
    See: https://api.slack.com/methods/files.list -

Options Hash: (**options)
  • :types (Object) --
  • :ts_to (Object) --
  • :ts_from (Object) --
  • :user (user) --
def files_list(options = {})
  post('files.list', options)
end

def files_upload(options = {})

Other tags:
    See: https://github.com/slackhq/slack-api-docs/blob/master/methods/files.upload.json -
    See: https://github.com/slackhq/slack-api-docs/blob/master/methods/files.upload.md -
    See: https://api.slack.com/methods/files.upload -

Options Hash: (**options)
  • :channels (channel) --
  • :initial_comment (Object) --
  • :title (Object) --
  • :filename (Object) --
  • :filetype (Object) --
  • :content (Object) --
  • :file (Object) --
def files_upload(options = {})
  post('files.upload', options)
end