ChangeComment
Changes the specified comment.
Parameters:
Name |
Type |
Description |
sId |
string
|
The comment ID. |
oCommentData |
CommentData
|
An object which contains the new comment data. |
Returns:
- Type
-
boolean
Example
Copy code
window.Asc.plugin.executeMethod ("ChangeComment", ["1_631",
{
"UserName": "John Smith",
"Text": "comment",
"Time": "1662737941471",
"Solved": true,
"Replies": [
{
"UserName": "Mark Potato",
"Text": "reply 1",
"Time": "1662740895892",
"Solved": false
}
]
}
]);