Skip to main content

Thread

Forum Thread

type Thread {
id: Int!
title: String
body(asHtml: Boolean): String
userId: Int!
replyUserId: Int
replyCommentId: Int
replyCount: Int
viewCount: Int
isLocked: Boolean
isSticky: Boolean
isSubscribed: Boolean
likeCount: Int!
isLiked: Boolean
repliedAt: Int
createdAt: Int!
updatedAt: Int!
user: User
replyUser: User
likes: [User]
siteUrl: String
categories: [ThreadCategory]
mediaCategories: [Media]
}

Fields

Thread.id ● Int! non-null scalar

The id of the thread

Thread.title ● String scalar

The title of the thread

Thread.body ● String scalar

The text body of the thread (Markdown)

Thread.body.asHtml ● Boolean scalar

Return the string in pre-parsed html instead of markdown

Thread.userId ● Int! non-null scalar

The id of the thread owner user

Thread.replyUserId ● Int scalar

The id of the user who most recently commented on the thread

Thread.replyCommentId ● Int scalar

The id of the most recent comment on the thread

Thread.replyCount ● Int scalar

The number of comments on the thread

Thread.viewCount ● Int scalar

The number of times users have viewed the thread

Thread.isLocked ● Boolean scalar

If the thread is locked and can receive comments

Thread.isSticky ● Boolean scalar

If the thread is stickied and should be displayed at the top of the page

Thread.isSubscribed ● Boolean scalar

If the currently authenticated user is subscribed to the thread

Thread.likeCount ● Int! non-null scalar

The amount of likes the thread has

Thread.isLiked ● Boolean scalar

If the currently authenticated user liked the thread

Thread.repliedAt ● Int scalar

The time of the last reply

Thread.createdAt ● Int! non-null scalar

The time of the thread creation

Thread.updatedAt ● Int! non-null scalar

The time of the thread last update

Thread.user ● User object

The owner of the thread

Thread.replyUser ● User object

The user to last reply to the thread

Thread.likes ● [User] list object

The users who liked the thread

Thread.siteUrl ● String scalar

The url for the thread page on the AniList website

Thread.categories ● [ThreadCategory] list object

The categories of the thread

Thread.mediaCategories ● [Media] list object

The media categories of the thread

Returned By

SaveThread mutation ● Thread query ● ToggleThreadSubscription mutation

Member Of

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

Implemented By

LikeableUnion union