File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -940,7 +940,11 @@ export interface MessagingOptions {
940940 [ key : string ] : any | undefined ;
941941}
942942
943- /* Individual status response payload from single devices */
943+ /**
944+ * Individual status response payload from single devices
945+ *
946+ * @deprecated Returned by {@link firebase-admin.messaging#sendToDevice} which is also deprecated.
947+ */
944948export interface MessagingDeviceResult {
945949 /**
946950 * The error that occurred when processing the message for the recipient.
@@ -967,6 +971,8 @@ export interface MessagingDeviceResult {
967971 * See
968972 * {@link https://firebase.google.com/docs/cloud-messaging/admin/send-messages#send_to_individual_devices |
969973 * Send to individual devices} for code samples and detailed documentation.
974+ *
975+ * @deprecated Returned by {@link firebase-admin.messaging#sendToDevice} which is also deprecated.
970976 */
971977export interface MessagingDevicesResponse {
972978 canonicalRegistrationTokenCount : number ;
@@ -983,6 +989,8 @@ export interface MessagingDevicesResponse {
983989 * See
984990 * {@link https://firebase.google.com/docs/cloud-messaging/send-message?authuser=0#send_messages_to_device_groups |
985991 * Send messages to device groups} for code samples and detailed documentation.
992+ *
993+ * @deprecated Returned by {@link firebase-admin.messaging#sendToDeviceGroup} which is also deprecated.
986994 */
987995export interface MessagingDeviceGroupResponse {
988996
Original file line number Diff line number Diff line change @@ -376,6 +376,8 @@ export class Messaging {
376376 *
377377 * @returns A promise fulfilled with the server's response after the message
378378 * has been sent.
379+ *
380+ * @deprecated Use {@link firebase-admin.messaging#send} instead.
379381 */
380382 public sendToDevice (
381383 registrationTokenOrTokens : string | string [ ] ,
@@ -445,6 +447,8 @@ export class Messaging {
445447 *
446448 * @returns A promise fulfilled with the server's response after the message
447449 * has been sent.
450+ *
451+ * @deprecated Use {@link firebase-admin.messaging#send} instead.
448452 */
449453 public sendToDeviceGroup (
450454 notificationKey : string ,
You can’t perform that action at this time.
0 commit comments