module Slack::Web::Api::Endpoints::FilesComments
def files_comments_add(options = {})
- See: https://github.com/dblock/slack-api-ref/blob/master/methods/files.comments/files.comments.add.json -
See: https://api.slack.com/methods/files.comments.add -
Options Hash:
(**options)
-
:comment
(Object
) -- -
:file
(file
) --
def files_comments_add(options = {}) throw ArgumentError.new('Required arguments :file missing') if options[:file].nil? throw ArgumentError.new('Required arguments :comment missing') if options[:comment].nil? post('files.comments.add', options) end
def files_comments_delete(options = {})
- See: https://github.com/dblock/slack-api-ref/blob/master/methods/files.comments/files.comments.delete.json -
See: https://api.slack.com/methods/files.comments.delete -
Options Hash:
(**options)
-
:id
(Object
) -- -
:file
(file
) --
def files_comments_delete(options = {}) 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.delete', options) end
def files_comments_edit(options = {})
- See: https://github.com/dblock/slack-api-ref/blob/master/methods/files.comments/files.comments.edit.json -
See: https://api.slack.com/methods/files.comments.edit -
Options Hash:
(**options)
-
:comment
(Object
) -- -
:id
(Object
) -- -
:file
(file
) --
def files_comments_edit(options = {}) throw ArgumentError.new('Required arguments :file missing') if options[:file].nil? throw ArgumentError.new('Required arguments :id missing') if options[:id].nil? throw ArgumentError.new('Required arguments :comment missing') if options[:comment].nil? post('files.comments.edit', options) end