BatchResponse interface

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.