MessagingDeviceResult interface

Returned by , which is also deprecated.

Individual status response payload from single devices

Signature:

export interface MessagingDeviceResult 

Properties

PropertyTypeDescription
canonicalRegistrationTokenstringThe 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.
errorFirebaseErrorThe error that occurred when processing the message for the recipient.
messageIdstringA 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;