ActivityMessageNotification
Notification for when a user is send an activity message
type ActivityMessageNotification {
id: Int!
userId: Int!
type: NotificationType
activityId: Int!
context: String
createdAt: Int
message: MessageActivity
user: User
}
Fields
ActivityMessageNotification.id
● Int!
non-null scalar
The id of the Notification
ActivityMessageNotification.userId
● Int!
non-null scalar
The if of the user who send the message
ActivityMessageNotification.type
● NotificationType
enum
The type of notification
ActivityMessageNotification.activityId
● Int!
non-null scalar
The id of the activity message
ActivityMessageNotification.context
● String
scalar
The notification context text
ActivityMessageNotification.createdAt
● Int
scalar
The time the notification was created at
ActivityMessageNotification.message
● MessageActivity
object
The message activity
ActivityMessageNotification.user
● User
object
The user who sent the message
Implemented By
NotificationUnion
union