Interface GitHub::Comment

Represents a comment.

Fields

author: Actor

The actor who authored the comment.

authorAssociation: CommentAuthorAssociation!

Author's association with the subject of the comment.

body: String!

The body as Markdown.

bodyHTML: HTML!

The body rendered to HTML.

bodyText: String!

The body rendered to text.

createdAt: DateTime!

Identifies the date and time when the object was created.

createdViaEmail: Boolean!

Check if this comment was created via an email reply.

editor: Actor

The actor who edited the comment.

id: ID!

includesCreatedEdit: Boolean!

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

lastEditedAt: DateTime

The moment the editor made the last edit

publishedAt: DateTime

Identifies when the comment was published at.

updatedAt: DateTime!

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

userContentEdits(after: String, before: String, first: Int, last: Int): UserContentEditConnection

A list of edits to this content.

Args

after: String

Returns the elements in the list that come after the specified cursor.

before: String

Returns the elements in the list that come before the specified cursor.

first: Int

Returns the first n elements from the list.

last: Int

Returns the last n elements from the list.

viewerDidAuthor: Boolean!

Did the viewer author this comment.

Possible Types

CommitComment

GistComment

Issue

IssueComment

PullRequest

PullRequestReview

PullRequestReviewComment

TeamDiscussion

TeamDiscussionComment