Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Deletes a comment with the specified id, deletes the latest comment or deletes all comments from a given page.

Parameters

...

applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

...

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.

...