Skip to main content

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);

ParameterTypeDescription
userKey
stringKey of the user who will receive the notification
notification
stringThe notification to be sent to the client

Examples

sendNotification()