alerts.FirebaseAlertData interface
Stay organized with collections
Save and categorize content based on your preferences.
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;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-03-21 UTC.
[null,null,["Last updated 2023-03-21 UTC."],[],[],null,["# alerts.FirebaseAlertData interface\n\nThe CloudEvent data emitted by Firebase Alerts.\n\n**Signature:** \n\n export interface FirebaseAlertData\u003cT = any\u003e \n\nProperties\n----------\n\n| Property | Type | Description |\n|--------------------------------------------------------------------------------------------------|--------|---------------------------------------------------------------------------|\n| [createTime](./firebase-functions.alerts.firebasealertdata.md#alertsfirebasealertdatacreatetime) | string | Time that the event has created. |\n| [endTime](./firebase-functions.alerts.firebasealertdata.md#alertsfirebasealertdataendtime) | string | Time that the event has ended. Optional, only present for ongoing alerts. |\n| [payload](./firebase-functions.alerts.firebasealertdata.md#alertsfirebasealertdatapayload) | T | Payload of the event, which includes the details of the specific alert. |\n\nalerts.FirebaseAlertData.createTime\n-----------------------------------\n\nTime that the event has created.\n\n**Signature:** \n\n createTime: string;\n\nalerts.FirebaseAlertData.endTime\n--------------------------------\n\nTime that the event has ended. Optional, only present for ongoing alerts.\n\n**Signature:** \n\n endTime: string;\n\nalerts.FirebaseAlertData.payload\n--------------------------------\n\nPayload of the event, which includes the details of the specific alert.\n\n**Signature:** \n\n payload: T;"]]