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

PropertyTypeDescription
failedRegistrationTokensstring[]An array of registration tokens that failed to receive the message.
failureCountnumberThe number of messages that could not be processed and resulted in an error.
successCountnumberThe 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;