The date and time when the custom alert was created.
The header text of the custom alert, or null
if no header was set.
The unique custom alert identifier.
The URL of the image to be displayed with the custom alert, or null
if no URL was set.
Indicates whether the alert has been shown in the streamer's widget.
The message text of the custom alert, or null
if no message was set.
The date and time when the custom alert was shown, or null
if the alert has not yet been shown.
The URL of the sound file to be played when the custom alert is shown, or null
if no URL was set.
Serializes the instance into a plain JavaScript object.
This method is automatically invoked when the instance is passed to JSON.stringify()
.
In Node.js, it's also used when the instance is logged via console.log()
(via the util.inspect
mechanism).
Represents a Donation Alerts custom alert object.
Remarks
A custom alert is a user-defined alert, which can include custom headers, messages, images, and sounds. These alerts are shown in the streamer's widget when triggered.