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 {
940
940
[ key : string ] : any | undefined ;
941
941
}
942
942
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
+ */
944
948
export interface MessagingDeviceResult {
945
949
/**
946
950
* The error that occurred when processing the message for the recipient.
@@ -967,6 +971,8 @@ export interface MessagingDeviceResult {
967
971
* See
968
972
* {@link https://firebase.google.com/docs/cloud-messaging/admin/send-messages#send_to_individual_devices |
969
973
* Send to individual devices} for code samples and detailed documentation.
974
+ *
975
+ * @deprecated Returned by {@link firebase-admin.messaging#sendToDevice} which is also deprecated.
970
976
*/
971
977
export interface MessagingDevicesResponse {
972
978
canonicalRegistrationTokenCount : number ;
@@ -983,6 +989,8 @@ export interface MessagingDevicesResponse {
983
989
* See
984
990
* {@link https://firebase.google.com/docs/cloud-messaging/send-message?authuser=0#send_messages_to_device_groups |
985
991
* 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.
986
994
*/
987
995
export interface MessagingDeviceGroupResponse {
988
996
Original file line number Diff line number Diff line change @@ -376,6 +376,8 @@ export class Messaging {
376
376
*
377
377
* @returns A promise fulfilled with the server's response after the message
378
378
* has been sent.
379
+ *
380
+ * @deprecated Use {@link firebase-admin.messaging#send} instead.
379
381
*/
380
382
public sendToDevice (
381
383
registrationTokenOrTokens : string | string [ ] ,
@@ -445,6 +447,8 @@ export class Messaging {
445
447
*
446
448
* @returns A promise fulfilled with the server's response after the message
447
449
* has been sent.
450
+ *
451
+ * @deprecated Use {@link firebase-admin.messaging#send} instead.
448
452
*/
449
453
public sendToDeviceGroup (
450
454
notificationKey : string ,
You can’t perform that action at this time.
0 commit comments