alerts.FirebaseAlertData interface

The CloudEvent data emitted by Firebase Alerts.

Signature:

export interface FirebaseAlertData<T = any> 

Properties

Property Type Description
createTime string Time that the event has created.
endTime string Time that the event has ended. Optional, only present for ongoing alerts.
payload T Payload 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;