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