...
Deletes a comment with the specified id, deletes the latest comment or deletes all comments from a given page.
Parameters
...
applyColStyleToCell | true |
---|---|
columnTypes | s,s,s,s |
heading | 0 |
multiple | false |
enableSorting | false |
...
Parameter name
...
Type
...
Required
...
Description
...
commentId_or_mode
...
number or string
...
Yes
...
Either the comment id (if we use the routine with only one parameter) or one of the next, otherwise: - "DELETE_LATEST" to delete the latest comment for the given page - "DELETE_ALL" to delete all the comments for the given page
...
page ID
...
Number
...
No
...
Page ID. Should be used only if the mode is "DELETE_LATEST" or "DELETE_ALL"
Return Type
Number
The number of comments deleted.
...