alerts.FirebaseAlertData interface

The CloudEvent data emitted by Firebase Alerts.

Signature:

exportinterfaceFirebaseAlertData<T=any>

Properties

PropertyTypeDescription
createTimestringTime that the event has created.
endTimestringTime that the event has ended. Optional, only present for ongoing alerts.
payloadTPayload of the event, which includes the details of the specific alert.

alerts.FirebaseAlertData.createTime

Time that the event has created.

Signature:

createTime:string;

alerts.FirebaseAlertData.endTime

Time that the event has ended. Optional, only present for ongoing alerts.

Signature:

endTime:string;

alerts.FirebaseAlertData.payload

Payload of the event, which includes the details of the specific alert.

Signature:

payload:T;