Skip to main content

ThreadComment

Forum Thread Comment

type ThreadComment {
id: Int!
userId: Int
threadId: Int
comment(asHtml: Boolean): String
likeCount: Int!
isLiked: Boolean
siteUrl: String
createdAt: Int!
updatedAt: Int!
thread: Thread
user: User
likes: [User]
childComments: Json
isLocked: Boolean
}

Fields

ThreadComment.id ● Int! non-null scalar

The id of the comment

ThreadComment.userId ● Int scalar

The user id of the comment's owner

ThreadComment.threadId ● Int scalar

The id of thread the comment belongs to

ThreadComment.comment ● String scalar

The text content of the comment (Markdown)

ThreadComment.comment.asHtml ● Boolean scalar

Return the string in pre-parsed html instead of markdown

ThreadComment.likeCount ● Int! non-null scalar

The amount of likes the comment has

ThreadComment.isLiked ● Boolean scalar

If the currently authenticated user liked the comment

ThreadComment.siteUrl ● String scalar

The url for the comment page on the AniList website

ThreadComment.createdAt ● Int! non-null scalar

The time of the comments creation

ThreadComment.updatedAt ● Int! non-null scalar

The time of the comments last update

ThreadComment.thread ● Thread object

The thread the comment belongs to

ThreadComment.user ● User object

The user who created the comment

ThreadComment.likes ● [User] list object

The users who liked the comment

ThreadComment.childComments ● Json scalar

The comment's child reply comments

ThreadComment.isLocked ● Boolean scalar

If the comment tree is locked and may not receive replies or edits

Returned By

SaveThreadComment mutation ● ThreadComment query

Member Of

InternalPage object ● Page object ● ThreadCommentLikeNotification object ● ThreadCommentMentionNotification object ● ThreadCommentReplyNotification object ● ThreadCommentSubscribedNotification object ● ThreadLikeNotification object

Implemented By

LikeableUnion union