Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Comment

Hierarchy

  • Comment

Index

Properties

Optional approved

approved: undefined | true | false

Whether this comment has been approved by a moderator.

Optional author

author: undefined | string

The handle of the comment author

Optional downvotes

downvotes: undefined | number

The number of downvotes this comment has received.

Optional replies

replies: Array<Comment>

Replies to this comment

Optional subject

subject: undefined | string

The title of the comment

Optional text

text: undefined | string

The text of the comment

Optional timestamp

timestamp: Date

The time at which this comment was posted

Optional upvotes

upvotes: undefined | number

The number of upvotes this comment has received.