ApiComment
Represents the ApiComment class.
Methods
Method | Returns | Description |
---|---|---|
AddReply | ApiComment | Adds a reply to a comment. |
Delete | boolean | Deletes the current comment from the document. |
GetAuthorName | string | Returns the comment author's name. |
GetClassType | "comment" | Returns a type of the ApiComment class. |
GetQuoteText | Number | Returns the quote text of the current comment. |
GetRepliesCount | Number | Returns a number of the comment replies. |
GetText | string | Returns the comment text. |
GetTime | Number | Returns the timestamp of the comment creation in the current time zone format. |
GetTimeUTC | Number | Returns the timestamp of the comment creation in UTC format. |
IsSolved | boolean | Checks if a comment is solved or not. |
RemoveReplies | ApiComment | Removes the specified comment replies. |
SetAuthorName | ApiComment | Sets the comment author's name. |
SetSolved | ApiComment | Marks a comment as solved. |
SetText | ApiComment | Sets the comment text. |
SetTime | ApiComment | Sets the timestamp of the comment creation in the current time zone format. |
SetTimeUTC | ApiComment | Sets the timestamp of the comment creation in UTC format. |
SetUserId | ApiComment | Sets the user ID to the comment author. |