Object GitHub::GistComment

Represents a comment on an Gist.

Fields

author: Actor

The actor who authored the comment.

authorAssociation: CommentAuthorAssociation!

Author's association with the gist.

body: String!

Identifies the comment body.

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.

databaseId: Int

Identifies the primary key from the database.

editor: Actor

The actor who edited the comment.

gist: Gist!

The associated gist.

id: ID!

includesCreatedEdit: Boolean!

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

isMinimized: Boolean!

Returns whether or not a comment has been minimized.

lastEditedAt: DateTime

The moment the editor made the last edit

minimizedReason: String

Returns why the comment was minimized.

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.

viewerCanDelete: Boolean!

Check if the current viewer can delete this object.

viewerCanMinimize: Boolean!

Check if the current viewer can minimize this object.

viewerCanUpdate: Boolean!

Check if the current viewer can update this object.

viewerCannotUpdateReasons: [CommentCannotUpdateReason!]!

Reasons why the current viewer can not update this comment.

viewerDidAuthor: Boolean!

Did the viewer author this comment.

Uses

GistCommentConnection.nodes

GistCommentEdge.node

Comment

Deletable

Minimizable

Node

Updatable

UpdatableComment