Method: Slack::Endpoint::Files#files_comments_edit

Defined in:
lib/slack/endpoint/files.rb

#files_comments_edit(options = {}) ⇒ Object

Edit an existing file comment.

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • :comment (Object)

    Text of the comment to edit.

  • :file (Object)

    File containing the comment to edit.

  • :id (Object)

    The comment to edit.

See Also:



50
51
52
53
54
55
# File 'lib/slack/endpoint/files.rb', line 50

def files_comments_edit(options={})
  throw ArgumentError.new("Required arguments :comment missing") if options[:comment].nil?
  throw ArgumentError.new("Required arguments :file missing") if options[:file].nil?
  throw ArgumentError.new("Required arguments :id missing") if options[:id].nil?
  post("files.comments.edit", options)
end