Skip to main content

ApiComment

Represents the ApiComment class.

Methods

MethodReturnsDescription
AddReplyApiCommentAdds a reply to a comment.
DeletebooleanDeletes the current comment from the document.
GetAuthorNamestringReturns the comment author's name.
GetClassType"comment"Returns a type of the ApiComment class.
GetIdstringReturns the current comment ID. If the comment doesn't have an ID, null is returned.
GetQuoteTextNumberReturns the quote text of the current comment.
GetRepliesCountNumberReturns a number of the comment replies.
GetReplyApiCommentReplyReturns the specified comment reply.
GetTextstringReturns the comment text.
GetTimeNumberReturns the timestamp of the comment creation in the current time zone format.
GetTimeUTCNumberReturns the timestamp of the comment creation in UTC format.
GetUserIdstringReturns the user ID of the comment author.
IsSolvedbooleanChecks if a comment is solved or not.
RemoveRepliesApiCommentRemoves the specified comment replies.
SetAuthorNameApiCommentSets the comment author's name.
SetSolvedApiCommentMarks a comment as solved.
SetTextApiCommentSets the comment text.
SetTimeApiCommentSets the timestamp of the comment creation in the current time zone format.
SetTimeUTCApiCommentSets the timestamp of the comment creation in UTC format.
SetUserIdApiCommentSets the user ID to the comment author.