Skip to content

Interface: NotificationPayload

Payload used to send notifications to a recipient.

Table of contents

Properties

Properties

body

body: string

The body of the notification.


label

Optional label: string

Label used to categorize notifications.


mediaURL

Optional mediaURL: string

URL to the icon of the notification. Defaults to game icon on Wortal if not provided.


scheduleInterval

Optional scheduleInterval: number

Time from now (in seconds) to send the notification. Limited between 300 (5 minutes) and 6480000 (75 days). Limit of 5 pending scheduled notifications per recipient. Default is 1 day (86400 seconds).


title

title: string

The title of the notification.