Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Comment

The equivalent of Type comment.
All Questions and Answers on a Stack Exchange site can be commented on, and this object represents those Comments.
Comments can also be optionally directed at users, when this is the case the replyToUser property is set.

Hierarchy

  • Comment

Index

Constructors

constructor

Properties

body

body: string | null

bodyMarkdown

bodyMarkdown: string | null

canFlag

canFlag: boolean | null

commentId

commentId: number | null

Refers to a Comment

creationDate

creationDate: Date | null

edited

edited: boolean | null

link

link: string | null

owner

owner: ShallowUser | null

May be absent, in which case it is set to null

postId

postId: number | null

Refers to a Post

postType

postType: "question" | "answer" | null

replyToUser

replyToUser: ShallowUser | null

May be absent, in which case it is set to null

score

score: number | null

upvoted

upvoted: boolean | null

Made by Horyus. Documentation generated by TypeDoc.