Skip to main content

Interface: SCCommentType

Exports all types

Properties

added_at

added_at: Date

Added at

Defined in

comment.ts:41


author

Optional author: SCUserType

User who commented

Defined in

comment.ts:36


collapsed

collapsed: boolean

If the comments is hidden

Defined in

comment.ts:61


comment_count

comment_count: number

Number of comments

Defined in

comment.ts:91


deleted

deleted: boolean

If the comments is deleted

Defined in

comment.ts:56


discussion

Optional discussion: number

Id of the Discussion object

Defined in

comment.ts:21


flag_count

flag_count: number

Number of flags

Defined in

comment.ts:86


html

html: string

Html of the comment

Defined in

comment.ts:46


id

id: number

Id of the comment

Defined in

comment.ts:16


in_reply_to

Optional in_reply_to: number

Id of the reply Comment, it must have the same parent

Defined in

comment.ts:71


latest_comments

Optional latest_comments: SCCommentType[]

Comments childs

Defined in

comment.ts:101


parent

parent: number

Id of the parent

Defined in

comment.ts:66


post

Optional post: number

Id of the Post object

Defined in

comment.ts:26


status

Optional status: number

Id of the Status object

Defined in

comment.ts:31


summary

summary: string

Summary

Defined in

comment.ts:51


text

text: string

Text of the comment

Defined in

comment.ts:96


type

type: string

Type: comment

Defined in

comment.ts:106


vote_count

vote_count: number

Number of votes

Defined in

comment.ts:76


voted

voted: boolean

True if the logged user has already voted the comment

Defined in

comment.ts:81