ActivityMentionNotification
Notification for when authenticated user is @ mentioned in activity or reply
type ActivityMentionNotification {
id: Int!
userId: Int!
type: NotificationType
activityId: Int!
context: String
createdAt: Int
activity: ActivityUnion
user: User
}
Fields
ActivityMentionNotification.id ● Int! non-null scalar
The id of the Notification
ActivityMentionNotification.userId ● Int! non-null scalar
The id of the user who mentioned the authenticated user
ActivityMentionNotification.type ● NotificationType enum
The type of notification
ActivityMentionNotification.activityId ● Int! non-null scalar
The id of the activity where mentioned
ActivityMentionNotification.context ● String scalar
The notification context text
ActivityMentionNotification.createdAt ● Int scalar
The time the notification was created at
ActivityMentionNotification.activity ● ActivityUnion union
The liked activity
ActivityMentionNotification.user ● User object
The user who mentioned the authenticated user
Implemented By
NotificationUnion union