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.
SendResponse.error
An error, if the message was not handed off to FCM successfully.
Signature:
error?:FirebaseError;
SendResponse.messageId
A unique message ID string, if the message was handed off to FCM for delivery.
Signature:
messageId?:string;
SendResponse.success
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-07-29 UTC."],[],[],null,["# SendResponse interface\n\nInterface representing the status of an individual message that was sent as part of a batch request.\n\n**Signature:** \n\n export interface SendResponse \n\nProperties\n----------\n\n| Property | Type | Description |\n|-------------------------------------------------------------------------------|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [error](./firebase-admin.messaging.sendresponse.md#sendresponseerror) | FirebaseError | An error, if the message was not handed off to FCM successfully. |\n| [messageId](./firebase-admin.messaging.sendresponse.md#sendresponsemessageid) | string | A unique message ID string, if the message was handed off to FCM for delivery. |\n| [success](./firebase-admin.messaging.sendresponse.md#sendresponsesuccess) | 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. |\n\nSendResponse.error\n------------------\n\nAn error, if the message was not handed off to FCM successfully.\n\n**Signature:** \n\n error?: FirebaseError;\n\nSendResponse.messageId\n----------------------\n\nA unique message ID string, if the message was handed off to FCM for delivery.\n\n**Signature:** \n\n messageId?: string;\n\nSendResponse.success\n--------------------\n\nA 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.\n\n**Signature:** \n\n success: boolean;"]]