editComment

Description

Edits a comment with the specified id and text. Optional, you can edit the security level for comment. Returns the comment representation after the edit.

Parameters

Return Type

JComment

The comment representation with the following keys:

Example

Example 1

string newComm = "This comment was edited."; return editComment(11801, newComm);

Edits the comment with id 11801 with the specified text.

See also

Peacock