Magidoc

DiscussionComment
Object

A comment on a discussion.

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.

databaseId

Identifies the primary key from the database.

deletedAt

The time when this replied-to comment was deleted

discussion

The discussion this comment was created in

editor

The actor who edited the comment.

id

ID !
Non-null

The Node ID of the DiscussionComment object

includesCreatedEdit

Non-null

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

isAnswer

Non-null

Has this comment been chosen as the answer of its discussion?

isMinimized

Non-null

Returns whether or not a comment has been minimized.

lastEditedAt

The moment the editor made the last edit

minimizedReason

Returns why the comment was minimized. One of abuse , off-topic , outdated , resolved , duplicate and spam . Note that the case and formatting of these values differs from the inputs to the MinimizeComment mutation.

publishedAt

Identifies when the comment was published at.

reactionGroups

A list of reactions grouped by content left on the subject.

reactions

Non-null

A list of Reactions left on the Issue.

replies

Non-null

The threaded replies to this comment.

replyTo

The discussion comment this comment is a reply to

resourcePath

Non-null

The path for this discussion comment.

updatedAt

Non-null

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

upvoteCount

Non-null

Number of upvotes that this subject has received.

url

Non-null

The URL for this discussion comment.

userContentEdits

A list of edits to this content.

viewerCanDelete

Non-null

Check if the current viewer can delete this object.

viewerCanMarkAsAnswer

Non-null

Can the current user mark this comment as an answer?

viewerCanMinimize

Non-null

Check if the current viewer can minimize this object.

viewerCanReact

Non-null

Can user react to this subject

viewerCanUnmarkAsAnswer

Non-null

Can the current user unmark this comment as an answer?

viewerCanUpdate

Non-null

Check if the current viewer can update this object.

viewerCanUpvote

Non-null

Whether or not the current user can add or remove an upvote on this subject.

viewerCannotUpdateReasons

Non-null

Reasons why the current viewer can not update this comment.

viewerDidAuthor

Non-null

Did the viewer author this comment.

viewerHasUpvoted

Non-null

Whether or not the current user has already upvoted this subject.

Interfaces

#

Also implements Comment , Deletable , Minimizable , Node , Reactable , Updatable , UpdatableComment , Votable .

Usages

#

References

#