addReply()

This method adds a reply to a comment or a reply on a row.

This page discusses:

Arguments

  • rowId: Integer identifying the row to which to add the comment.
  • text: Text content of the comment to add.
  • parentId: Parent comment to which to add the comment, if the comment is a subcomment. If you do not provide a parentId value, the method adds the comment directly on the row.

Return Value

Returns a dictionary-like object corresponding to the newly added comment.

The parentId corresponds to the id attribute on the comment objects returned by a call such as getCommentsForRow(). The method searches all comments and subcomments under the specified row for an id attribute matching the parentId and appends the new comment.