Send a notification (console)
nakama_send_notificationSend an in-app notification to a player by specifying user ID and subject. Optionally include content, code, and persistence for offline delivery.
Instructions
Send an in-app notification to a player via the console API. Use a positive app-defined code (<=0 is reserved).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | Recipient player user ID. | |
| subject | Yes | Notification subject/title. | |
| content | No | Content (object or JSON string). | |
| code | No | App-defined notification code (default 0). | |
| persistent | No | Persist for offline delivery (default true). |