activity
is an object of type Activity
representing the details of the activity associated with the notification.
activityId
is a number representing the unique identifier of the activity associated with the notification.
context
is a string representing the context of the notification.
createdAt
is a number representing the Unix timestamp when the notification was created.
id
is a number representing the unique identifier of the notification.
type
is a string representing the type of the notification.
user
is an object of type BasicUser
representing the details of the user associated with the notification.
userId
is a number representing the unique identifier of the user associated with the notification.
ActivityNotification
is an interface representing a notification related to an activity. It includes the id of the notification, the user id, the type of the notification, the activity id, the context, the creation date, the activity details, and the user details.