MessagingDeviceResult interface

Returned by , which is also deprecated.

Individual status response payload from single devices

Signature:

export interface MessagingDeviceResult 

Properties

Property Type Description
canonicalRegistrationToken string The canonical registration token for the client app that the message was processed and sent to. You should use this value as the registration token for future requests. Otherwise, future messages might be rejected.
error FirebaseError The error that occurred when processing the message for the recipient.
messageId string A unique ID for the successfully processed message.

MessagingDeviceResult.canonicalRegistrationToken

The canonical registration token for the client app that the message was processed and sent to. You should use this value as the registration token for future requests. Otherwise, future messages might be rejected.

Signature:

canonicalRegistrationToken?: string;

MessagingDeviceResult.error

The error that occurred when processing the message for the recipient.

Signature:

error?: FirebaseError;

MessagingDeviceResult.messageId

A unique ID for the successfully processed message.

Signature:

messageId?: string;