Skip to main content

ThreadCommentSubscribedNotification

Notification for when a user replies to a subscribed forum thread

type ThreadCommentSubscribedNotification {
id: Int!
userId: Int!
type: NotificationType
commentId: Int!
context: String
createdAt: Int
thread: Thread
comment: ThreadComment
user: User
}

Fields

ThreadCommentSubscribedNotification.id ● Int! non-null scalar

The id of the Notification

ThreadCommentSubscribedNotification.userId ● Int! non-null scalar

The id of the user who commented on the thread

ThreadCommentSubscribedNotification.type ● NotificationType enum

The type of notification

ThreadCommentSubscribedNotification.commentId ● Int! non-null scalar

The id of the new comment in the subscribed thread

ThreadCommentSubscribedNotification.context ● String scalar

The notification context text

ThreadCommentSubscribedNotification.createdAt ● Int scalar

The time the notification was created at

ThreadCommentSubscribedNotification.thread ● Thread object

The thread that the relevant comment belongs to

ThreadCommentSubscribedNotification.comment ● ThreadComment object

The reply thread comment

ThreadCommentSubscribedNotification.user ● User object

The user who replied to the subscribed thread

Implemented By

NotificationUnion union