Interface DonationAlertsSendCustomAlertData

Data structure for sending a custom alert to Donation Alerts.

interface DonationAlertsSendCustomAlertData {
    externalId?: string;
    header?: string;
    imageUrl?: string;
    message?: string;
    shouldShow?: boolean;
    soundUrl?: string;
}

Properties

externalId?: string

A unique alert ID generated by the application developer (maximum length: 32 characters).

header?: string

A header text to display in the custom alert (maximum length: 255 characters).

imageUrl?: string

A URL to an image that will be included in the alert (maximum length: 255 characters).

message?: string

A message text to display in the custom alert (maximum length: 300 characters).

shouldShow?: boolean

Determines whether the alert should be displayed immediately.

true

If set to false, the alert will not be shown.

soundUrl?: string

A URL to a sound file that will play when the custom alert is displayed (maximum length: 255 characters).