MessagingDeviceGroupResponse interface

Returned by Messaging.sendToDeviceGroup(), which is also deprecated.

Interface representing the server response from the Messaging.sendToDeviceGroup() method.

See Send messages to device groups for code samples and detailed documentation.

Signature:

export interface MessagingDeviceGroupResponse 

Properties

Property Type Description
failedRegistrationTokens string[] An array of registration tokens that failed to receive the message.
failureCount number The number of messages that could not be processed and resulted in an error.
successCount number The number of messages that could not be processed and resulted in an error.

MessagingDeviceGroupResponse.failedRegistrationTokens

An array of registration tokens that failed to receive the message.

Signature:

failedRegistrationTokens: string[];

MessagingDeviceGroupResponse.failureCount

The number of messages that could not be processed and resulted in an error.

Signature:

failureCount: number;

MessagingDeviceGroupResponse.successCount

The number of messages that could not be processed and resulted in an error.

Signature:

successCount: number;