Skip to main content

ThreadCommentMentionNotification

Notification for when authenticated user is @ mentioned in a forum thread comment

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

Fields

ThreadCommentMentionNotification.id ● Int! non-null scalar

The id of the Notification

ThreadCommentMentionNotification.userId ● Int! non-null scalar

The id of the user who mentioned the authenticated user

ThreadCommentMentionNotification.type ● NotificationType enum

The type of notification

ThreadCommentMentionNotification.commentId ● Int! non-null scalar

The id of the comment where mentioned

ThreadCommentMentionNotification.context ● String scalar

The notification context text

ThreadCommentMentionNotification.createdAt ● Int scalar

The time the notification was created at

ThreadCommentMentionNotification.thread ● Thread object

The thread that the relevant comment belongs to

ThreadCommentMentionNotification.comment ● ThreadComment object

The thread comment that included the @ mention

ThreadCommentMentionNotification.user ● User object

The user who mentioned the authenticated user

Implemented By

NotificationUnion union