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

def files_share(options = {})

Other tags:
    See: https://github.com/slack-ruby/slack-api-ref/blob/master/methods/undocumented/files/files.share.json -

Options Hash: (**options)
  • :channel (channel) --
  • :file (Object) --
def files_share(options = {})
  raise ArgumentError, 'Required arguments :file missing' if options[:file].nil?
  raise ArgumentError, 'Required arguments :channel missing' if options[:channel].nil?
  options = options.merge(channel: conversations_id(options)['channel']['id']) if options[:channel]
  logger.warn('The files.share method is undocumented.')
  post('files.share', options)
end