Sha256: dbbfbaa98fabf7994c702246cdb70eb3f9591d35cbd012b85ed1ebf630f8cbf0

Contents?: true

Size: 941 Bytes

Versions: 5

Compression:

Stored size: 941 Bytes

Contents

# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake

module Slack
  module Web
    module Api
      module Endpoints
        module FilesComments
          #
          # Deletes an existing comment on a file.
          #
          # @option options [file] :file
          #   File to delete a comment from.
          # @option options [string] :id
          #   The comment to delete.
          # @see https://api.slack.com/methods/files.comments.delete
          # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/files.comments/files.comments.delete.json
          def files_comments_delete(options = {})
            raise ArgumentError, 'Required arguments :file missing' if options[:file].nil?
            raise ArgumentError, 'Required arguments :id missing' if options[:id].nil?
            post('files.comments.delete', options)
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 lib/slack/web/api/endpoints/files_comments.rb
slack-ruby-client-2.3.0 lib/slack/web/api/endpoints/files_comments.rb
slack-ruby-client-2.2.0 lib/slack/web/api/endpoints/files_comments.rb
slack-ruby-client-2.1.0 lib/slack/web/api/endpoints/files_comments.rb
slack-ruby-client-2.0.0 lib/slack/web/api/endpoints/files_comments.rb