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.
GetQuoteTextNumberReturns the quote text of the current comment.
GetRepliesCountNumberReturns a number of the comment replies.
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.
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.