SCCommentType
Interface SCCommentType. Comment Schema.
Properties
Property | Type | Description |
---|---|---|
added_at | Date | Added at |
author? | SCUserType | User who commented |
collapsed | boolean | If the comments is hidden |
comment_count | number | Number of comments |
deleted | boolean | If the comments is deleted |
discussion? | number | Id of the Discussion object |
flag_count | number | Number of flags |
html | string | Html of the comment |
id | number | Id of the comment |
in_reply_to? | number | Id of the reply Comment, it must have the same parent |
latest_comments? | SCCommentType [] | Comments childs |
parent | number | Id of the parent |
post? | number | Id of the Post object |
reaction | SCReactionType | Reaction obj |
reactions_count | [] | Reactions number and objs |
status? | number | Id of the Status object |
summary | string | Summary |
summary_html? | string | Summary html |
summary_truncated? | boolean | True if summary_html is truncated |
text | string | Text of the comment |
type | string | Type: comment |
vote_count | number | Number of votes |
voted | boolean | True if the logged user has already voted the comment |