Magidoc

Comment
Interface

Represents a comment.

Fields

#

author

The actor who authored the comment.

authorAssociation

Non-null

Author's association with the subject of the comment.

body

Non-null

The body as Markdown.

bodyHTML

Non-null

The body rendered to HTML.

bodyText

Non-null

The body rendered to text.

createdAt

Non-null

Identifies the date and time when the object was created.

createdViaEmail

Non-null

Check if this comment was created via an email reply.

editor

The actor who edited the comment.

id

ID !
Non-null

The Node ID of the Comment object

includesCreatedEdit

Non-null

Check if this comment was edited and includes an edit with the creation data

lastEditedAt

The moment the editor made the last edit

publishedAt

Identifies when the comment was published at.

updatedAt

Non-null

Identifies the date and time when the object was last updated.

userContentEdits

A list of edits to this content.

viewerDidAuthor

Non-null

Did the viewer author this comment.

Implementations

#

Implemented by CommitComment , Discussion , DiscussionComment , GistComment , Issue , IssueComment , PullRequest , PullRequestReview , PullRequestReviewComment , TeamDiscussion , TeamDiscussionComment .