BatchResponse interface
Stay organized with collections
Save and categorize content based on your preferences.
Interface representing the server response from the Messaging.sendEach() and Messaging.sendEachForMulticast() methods.
Signature:
export interface BatchResponse
Properties
Property |
Type |
Description |
failureCount |
number |
The number of messages that resulted in errors when sending. |
responses |
SendResponse[] |
An array of responses, each corresponding to a message. |
successCount |
number |
The number of messages that were successfully handed off for sending. |
BatchResponse.failureCount
The number of messages that resulted in errors when sending.
Signature:
failureCount: number;
BatchResponse.responses
An array of responses, each corresponding to a message.
Signature:
responses: SendResponse[];
BatchResponse.successCount
The number of messages that were successfully handed off for sending.
Signature:
successCount: number;
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 2024-11-12 UTC.
[null,null,["Last updated 2024-11-12 UTC."],[],[],null,["Interface representing the server response from the [Messaging.sendEach()](./firebase-admin.messaging.messaging.md#messagingsendeach) and [Messaging.sendEachForMulticast()](./firebase-admin.messaging.messaging.md#messagingsendeachformulticast) methods.\n\n**Signature:** \n\n export interface BatchResponse \n\nProperties\n\nBatchResponse.failureCount\n\nThe number of messages that resulted in errors when sending.\n\n**Signature:** \n\n failureCount: number;\n\nBatchResponse.responses\n\nAn array of responses, each corresponding to a message.\n\n**Signature:** \n\n responses: SendResponse[];\n\nBatchResponse.successCount\n\nThe number of messages that were successfully handed off for sending.\n\n**Signature:** \n\n successCount: number;"]]