Skip to main content

MessageActivity

User message activity

type MessageActivity {
id: Int!
recipientId: Int
messengerId: Int
type: ActivityType
replyCount: Int!
message(asHtml: Boolean): String
isLocked: Boolean
isSubscribed: Boolean
likeCount: Int!
isLiked: Boolean
isPrivate: Boolean
siteUrl: String
createdAt: Int!
recipient: User
messenger: User
replies: [ActivityReply]
likes: [User]
}

Fields

MessageActivity.id ● Int! non-null scalar

The id of the activity

MessageActivity.recipientId ● Int scalar

The user id of the activity's recipient

MessageActivity.messengerId ● Int scalar

The user id of the activity's sender

MessageActivity.type ● ActivityType enum

The type of the activity

MessageActivity.replyCount ● Int! non-null scalar

The number of activity replies

MessageActivity.message ● String scalar

The message text (Markdown)

MessageActivity.message.asHtml ● Boolean scalar

Return the string in pre-parsed html instead of markdown

MessageActivity.isLocked ● Boolean scalar

If the activity is locked and can receive replies

MessageActivity.isSubscribed ● Boolean scalar

If the currently authenticated user is subscribed to the activity

MessageActivity.likeCount ● Int! non-null scalar

The amount of likes the activity has

MessageActivity.isLiked ● Boolean scalar

If the currently authenticated user liked the activity

MessageActivity.isPrivate ● Boolean scalar

If the message is private and only viewable to the sender and recipients

MessageActivity.siteUrl ● String scalar

The url for the activity page on the AniList website

MessageActivity.createdAt ● Int! non-null scalar

The time the activity was created at

MessageActivity.recipient ● User object

The user who the activity message was sent to

MessageActivity.messenger ● User object

The user who sent the activity message

MessageActivity.replies ● [ActivityReply] list object

The written replies to the activity

MessageActivity.likes ● [User] list object

The users who liked the activity

Returned By

SaveMessageActivity mutation

Member Of

ActivityMessageNotification object

Implemented By

ActivityUnion union ● LikeableUnion union