Interface NotificationDocument

NotificationDocument

Description

Defines the structure of a Notification document within the database.

Hierarchy

  • Document
    • NotificationDocument

Properties

channel: Channel

Description

What is the channel used to send this notification.

conversationId: ObjectId

Description

ConversationId for in-system messages.

event: default

Description

What is the Event of the notification.

from: ObjectId

Description

Where is the notification coming from.

message: string

Description

The message of the notification.

payloadData: any

Description

Payload of the notification.

status: Status

Description

What is the status of the notification.

to: ObjectId

Description

Where is the notification is going to.

Generated using TypeDoc