def upload_file_to_slack(channels: ,file: ,options: {})
      upload_file = nil
      ActiveSupport::Notifications.instrument('upload_file_to_slack.action_messenger', channels: channels) do
        upload_file = slack_client.upload_file(channels, file, options)
      end
      upload_file
    ensure
      self.deliveries << DeliveryLog.new(__method__, channels, upload_file)
    end
def upload_file_to_slack(channels: ,file: ,options: {})
      upload_file = nil
      ActiveSupport::Notifications.instrument('upload_file_to_slack.action_messenger', channels: channels) do
        upload_file = slack_client.upload_file(channels, file, options)
      end
      upload_file
    ensure
      self.deliveries << DeliveryLog.new(__method__, channels, upload_file)
    end
upload file to slack

 @param [String] channels slack channel
   ex. #general, #hoge
 @param [Faraday::UploadIO] file upload file
   ex. Faraday::UploadIO.new('/path/to/sample.jpg', 'image/jpg')
 @param [Hash] options