Skip to main content

TextActivity

User text activity

type TextActivity {
id: Int!
userId: Int
type: ActivityType
replyCount: Int!
text(asHtml: Boolean): String
siteUrl: String
isLocked: Boolean
isSubscribed: Boolean
likeCount: Int!
isLiked: Boolean
isPinned: Boolean
createdAt: Int!
user: User
replies: [ActivityReply]
likes: [User]
}

Fields

TextActivity.id ● Int! non-null scalar

The id of the activity

TextActivity.userId ● Int scalar

The user id of the activity's creator

TextActivity.type ● ActivityType enum

The type of activity

TextActivity.replyCount ● Int! non-null scalar

The number of activity replies

TextActivity.text ● String scalar

The status text (Markdown)

TextActivity.text.asHtml ● Boolean scalar

Return the string in pre-parsed html instead of markdown

TextActivity.siteUrl ● String scalar

The url for the activity page on the AniList website

TextActivity.isLocked ● Boolean scalar

If the activity is locked and can receive replies

TextActivity.isSubscribed ● Boolean scalar

If the currently authenticated user is subscribed to the activity

TextActivity.likeCount ● Int! non-null scalar

The amount of likes the activity has

TextActivity.isLiked ● Boolean scalar

If the currently authenticated user liked the activity

TextActivity.isPinned ● Boolean scalar

If the activity is pinned to the top of the users activity feed

TextActivity.createdAt ● Int! non-null scalar

The time the activity was created at

TextActivity.user ● User object

The user who created the activity

TextActivity.replies ● [ActivityReply] list object

The written replies to the activity

TextActivity.likes ● [User] list object

The users who liked the activity

Returned By

SaveTextActivity mutation

Implemented By

ActivityUnion union ● LikeableUnion union