Skip to content

Commit 616f916

Browse files
committed
fix: Update proxy and visibility doc string with TW suggestion
1 parent 41718d9 commit 616f916

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/messaging/messaging-api.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,8 @@ export interface AndroidNotification {
593593

594594
/**
595595
* Sets the visibility of the notification. Must be either `private`, `public`,
596-
* or `secret`. If unspecified, defaults to `private`.
596+
* or `secret`. If unspecified, it remains undefined in the Admin SDK, and
597+
* defers to the FCM backend's default mapping.
597598
*/
598599
visibility?: ('private' | 'public' | 'secret');
599600

@@ -611,8 +612,8 @@ export interface AndroidNotification {
611612

612613
/**
613614
* Sets if this notification should attempt to be proxied. Must be either
614-
* `allow`, `deny` or `if_priority_lowered`. If unspecified, defaults to
615-
* `if_priority_lowered`.
615+
* `allow`, `deny` or `if_priority_lowered`. If unspecified, it remains
616+
* undefined in the Admin SDK, and defers to the FCM backend's default mapping.
616617
*/
617618
proxy?: ('allow' | 'deny' | 'if_priority_lowered');
618619
}

0 commit comments

Comments
 (0)