Kind: global class
Add a comment to an existing file.
Kind: instance method of [FilesCommentsFacet](#FilesCommentsFacet)
See: files.comments.add
Param | Type | Description |
---|---|---|
file | ? |
File to add a comment to. |
comment | ? |
Text of the comment to add. |
[opts] | Object |
|
opts.channel | ? |
Channel id (encoded) of which location to associate with the new comment. |
[optCb] | function |
Optional callback, if not using promises. |
Deletes an existing comment on a file.
Kind: instance method of [FilesCommentsFacet](#FilesCommentsFacet)
See: files.comments.delete
Param | Type | Description |
---|---|---|
file | ? |
File to delete a comment from. |
id | ? |
The comment to delete. |
[optCb] | function |
Optional callback, if not using promises. |
Edit an existing file comment.
Kind: instance method of [FilesCommentsFacet](#FilesCommentsFacet)
See: files.comments.edit
Param | Type | Description |
---|---|---|
file | ? |
File containing the comment to edit. |
id | ? |
The comment to edit. |
comment | ? |
Text of the comment to edit. |
[optCb] | function |
Optional callback, if not using promises. |