Skip to main content

ThreadLikeNotification

Notification for when a thread is liked

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

Fields

ThreadLikeNotification.id ● Int! non-null scalar

The id of the Notification

ThreadLikeNotification.userId ● Int! non-null scalar

The id of the user who liked to the activity

ThreadLikeNotification.type ● NotificationType enum

The type of notification

ThreadLikeNotification.threadId ● Int! non-null scalar

The id of the thread which was liked

ThreadLikeNotification.context ● String scalar

The notification context text

ThreadLikeNotification.createdAt ● Int scalar

The time the notification was created at

ThreadLikeNotification.thread ● Thread object

The thread that the relevant comment belongs to

ThreadLikeNotification.comment ● ThreadComment object

The liked thread comment

ThreadLikeNotification.user ● User object

The user who liked the activity

Implemented By

NotificationUnion union