ActivityLikeNotification
is an instance of ActivityNotification
representing an activity like notification.
ActivityMentionNotification
is an instance of ActivityNotification
representing an activity mention notification.
ActivityMessageNotification
is an object representing an activity message notification.
It includes the id, userId, type, activityId, context, createdAt, message, and user of the notification.
activityId
is a number representing the id of the activity associated with the activity message notification.
context
is a string representing the context of the activity message notification.
createdAt
is a number representing the timestamp when the activity message notification was created.
id
is a number representing the id of the activity message notification.
message
is an object representing the message associated with the activity message notification.
It includes the id, recipientId, messengerId, type, replyCount, message, isLocked, isSubscribed, likeCount, isLiked, isPrivate, siteUrl, createdAt, recipient, messenger, replies, and likes of the message.
createdAt
is a number representing the timestamp when the message was created.
id
is a number representing the id of the message.
isLiked
is a boolean indicating whether the message is liked by the user.
isLocked
is a boolean indicating whether the message is locked.
isPrivate
is a boolean indicating whether the message is private.
isSubscribed
is a boolean indicating whether the user is subscribed to the message.
likeCount
is a number representing the like count of the message.
likes
is an array of instances of BasicUser
representing the users who liked the message.
message
is a string representing the content of the message.
messenger
is an instance of BasicUser
representing the messenger of the message.
messengerId
is a number representing the id of the messenger of the message.
recipient
is an instance of BasicUser
representing the recipient of the message.
recipientId
is a number representing the id of the recipient of the message.
replies
is an array of objects representing the replies to the message.
Each object includes the id, userId, activityId, text, createdAt, likeCount, isLiked, user, and likes of the reply.
replyCount
is a number representing the reply count of the message.
siteUrl
is a string representing the URL of the message on the site.
type
is a string representing the type of the message.
type
is a string representing the type of the activity message notification.
user
is an instance of BasicUser
representing the user associated with the activity message notification.
userId
is a number representing the id of the user associated with the activity message notification.
ActivityReplyLikeNotification
is an instance of ActivityNotification
representing an activity reply like notification.
ActivityReplyNotification
is an instance of ActivityNotification
representing an activity reply notification.
ActivityReplySubscribedNotification
is an instance of ActivityNotification
representing an activity reply subscribed notification.
AiringNotification
is an object representing an airing notification.
It includes the id, type, animeId, episode, contexts, createdAt, and media of the notification.
animeId
is a number representing the id of the anime associated with the airing notification.
contexts
is a string representing the contexts of the airing notification.
createdAt
is a number representing the timestamp when the airing notification was created.
episode
is a number representing the episode number of the anime associated with the airing notification.
id
is a number representing the id of the airing notification.
media
is an object representing the media associated with the airing notification.
It includes the id and title of the media.
id
is a number representing the id of the media.
title
is an instance of Title
representing the title of the media.
type
is a string representing the type of the airing notification.
FollowingNotification
is an object representing a following notification.
It includes the id, type, userId, context, createdAt, and user of the notification.
context
is a string representing the context of the following notification.
createdAt
is a number representing the timestamp when the following notification was created.
id
is a number representing the id of the following notification.
type
is a string representing the type of the following notification.
user
is an instance of BasicUser
representing the user associated with the following notification.
userId
is a number representing the id of the user associated with the following notification.
MediaDataChangeNotification
is an object representing a media data change notification.
It includes the id, type, mediaId, context, reason, createdAt, and media of the notification.
context
is a string representing the context of the media data change notification.
createdAt
is a number representing the timestamp when the media data change notification was created.
id
is a number representing the id of the media data change notification.
media
is an object representing the media associated with the media data change notification.
It includes the id and title of the media.
id
is a number representing the id of the media.
title
is an instance of Title
representing the title of the media.
mediaId
is a number representing the id of the media associated with the media data change notification.
reason
is a string representing the reason for the media data change.
type
is a string representing the type of the media data change notification.
MediaDeletionNotification
is an object representing a media deletion notification.
It includes the id, type, deletedMediaTitle, context, reason, and createdAt of the notification.
context
is a string representing the context of the media deletion notification.
createdAt
is a number representing the timestamp when the media deletion notification was created.
deletedMediaTitle
is a string representing the title of the deleted media in the media deletion notification.
id
is a number representing the id of the media deletion notification.
reason
is a string representing the reason for the media deletion.
type
is a string representing the type of the media deletion notification.
MediaMergeNotification
is an object representing a media merge notification.
It includes the id, type, mediaId, deletedMediaTitles, context, reason, createdAt, and media of the notification.
context
is a string representing the context of the media merge notification.
createdAt
is a number representing the timestamp when the media merge notification was created.
deletedMediaTitles
is a string representing the titles of the deleted media in the media merge notification.
id
is a number representing the id of the media merge notification.
media
is an object representing the media associated with the media merge notification.
It includes the id and title of the media.
id
is a number representing the id of the media.
title
is an instance of Title
representing the title of the media.
mediaId
is a number representing the id of the media associated with the media merge notification.
reason
is a string representing the reason for the media merge.
type
is a string representing the type of the media merge notification.
RelatedMediaAdditionNotification
is an object representing a related media addition notification.
It includes the id, type, mediaId, context, createdAt, and media of the notification.
context
is a string representing the context of the related media addition notification.
createdAt
is a number representing the timestamp when the related media addition notification was created.
id
is a number representing the id of the related media addition notification.
media
is an object representing the media associated with the related media addition notification.
It includes the id and title of the media.
id
is a number representing the id of the media.
title
is an instance of Title
representing the title of the media.
mediaId
is a number representing the id of the media associated with the related media addition notification.
type
is a string representing the type of the related media addition notification.
ThreadCommentLikeNotification
is an instance of ThreadNotification
representing a thread comment like notification.
ThreadCommentMentionNotification
is an instance of ThreadNotification
representing a thread comment mention notification.
ThreadCommentReplyNotification
is an instance of ThreadNotification
representing a thread comment reply notification.
ThreadCommentSubscribedNotification
is an instance of ThreadNotification
representing a thread comment subscribed notification.
ThreadLikeNotification
is an object representing a thread like notification.
It includes the id, userId, type, context, createdAt, thread, comment, and user of the notification.
comment
is an instance of BasicComment
representing the comment associated with the thread like notification.
context
is a string representing the context of the thread like notification.
createdAt
is a number representing the timestamp when the thread like notification was created.
id
is a number representing the id of the thread like notification.
thread
is an instance of BasicThread
representing the thread associated with the thread like notification.
type
is a string representing the type of the thread like notification.
user
is an instance of BasicUser
representing the user associated with the thread like notification.
userId
is a number representing the id of the user associated with the thread like notification.
NotificationResponse
is an interface representing the response from a notification query. It includes various types of notifications such as AiringNotification, FollowingNotification, ActivityMessageNotification, ActivityMentionNotification, ActivityReplyNotification, ActivityReplySubscribedNotification, ActivityLikeNotification, ActivityReplyLikeNotification, ThreadCommentMentionNotification, ThreadCommentReplyNotification, ThreadCommentSubscribedNotification, ThreadCommentLikeNotification, ThreadLikeNotification, RelatedMediaAdditionNotification, MediaDataChangeNotification, MediaMergeNotification, and MediaDeletionNotification.