INTERFACE

Comment

Represents a comment.

link GraphQL Schema definition

  • interface Comment {
  • # The author of the comment.
  • author: Author
  • # The comment body as Markdown.
  • body: String!
  • # The comment body rendered to HTML.
  • bodyHTML: HTML!
  • # Identifies the date and time when the object was created.
  • createdAt: DateTime!
  • # Check if this comment was created via an email reply.
  • createdViaEmail: Boolean!
  • # The editor of the comment.
  • editor: Author
  • id: ID!
  • # The moment the editor made the last edit
  • lastEditedAt: DateTime
  • # Identifies the date and time when the object was last updated.
  • updatedAt: DateTime!
  • # Check if the current viewer can delete this comment.
  • viewerCanDelete: Boolean!
  • # Check if the current viewer edit this comment.
  • viewerCanEdit: Boolean!
  • # Errors why the current viewer can not edit this comment.
  • viewerCannotEditReasons: [CommentCannotEditReason!]!
  • # Did the viewer author this comment.
  • viewerDidAuthor: Boolean!
  • }