Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Comment

A comment object. Comments are created by users for discussing a post.

Hierarchy

Index

Properties

Optional active

active: undefined | true | false

True if the content is not marked hidden or deleted

content

content: string

Body of the comment

Optional createdAt

createdAt: undefined | string

Content creation time as UTC timestamp

Optional creator

creator: User

User that added the content

id

id: number

ID of the content

postId

postId: number

ID of the post this comment belongs to

Optional score

score: undefined | number

Comment score

Generated using TypeDoc