Interface representing the server response from the and methods.

See [Manage topics from the server](/docs/cloud-messaging/manage-topics) for code samples and detailed documentation.

Signature:

export interface MessagingTopicManagementResponse 

Properties

Property Type Description
errors FirebaseArrayIndexError[] An array of errors corresponding to the provided registration token(s). The length of this array will be equal to [failureCount](#failureCount).
failureCount number The number of registration tokens that could not be subscribed to the topic and resulted in an error.
successCount number The number of registration tokens that were successfully subscribed to the topic.

MessagingTopicManagementResponse.errors

An array of errors corresponding to the provided registration token(s). The length of this array will be equal to [failureCount](#failureCount).

Signature:

errors: FirebaseArrayIndexError[];

MessagingTopicManagementResponse.failureCount

The number of registration tokens that could not be subscribed to the topic and resulted in an error.

Signature:

failureCount: number;

MessagingTopicManagementResponse.successCount

The number of registration tokens that were successfully subscribed to the topic.

Signature:

successCount: number;