Properties

error

(non-null admin.FirebaseError or undefined)

An error, if the message was not handed off to FCM successfully.

messageId

(string or undefined)

A unique message ID string, if the message was handed off to FCM for delivery.

success

boolean

A boolean indicating if the message was successfully handed off to FCM or not. When true, the messageId attribute is guaranteed to be set. When false, the error attribute is guaranteed to be set.