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