sendNotification()
Last updated 12/09/2024
sendNotification()
The
sendNotification()
is a function on the Five
object that is used to send a notification to the client. The notification is available in the Notifications bell.
All notifications sent to users who aren't logged in will be cached and saved so they can access them when they log in.
Available
Server
Function Signature
sendNotification(userKey, notification);
Parameter | Type | Description |
---|---|---|
userKey | string | Key of the user who will receive the notification |
notification | string | The notification to be sent to the client |