Skip to content

Commit 1023f48

Browse files
committed
fix: Update proxy and visibility doc string with TW suggestion
1 parent 7d6ea6a commit 1023f48

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

firebase_admin/_messaging_utils.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ class AndroidNotification:
137137
If ``default_light_settings`` is set to ``True`` and ``light_settings`` is also set, the
138138
user-specified ``light_settings`` is used instead of the default value.
139139
visibility: Sets the visibility of the notification. Must be either ``private``, ``public``,
140-
or ``secret``. If unspecified, default to ``private``.
140+
or ``secret``. If unspecified, it remains undefined in the Admin SDK, and defers to
141+
the FCM backend's default mapping.
141142
notification_count: Sets the number of items this notification represents. May be displayed
142143
as a badge count for Launchers that support badging. See ``NotificationBadge``
143144
https://developer.android.com/training/notify-user/badges. For example, this might be
@@ -146,7 +147,8 @@ class AndroidNotification:
146147
unspecified, systems that support badging use the default, which is to increment a
147148
number displayed on the long-press menu each time a new notification arrives.
148149
proxy: Sets if the notification may be proxied. Must be one of ``allow``, ``deny``, or
149-
``if_priority_lowered``. If unspecified, defaults to ``if_priority_lowered``.
150+
``if_priority_lowered``. If unspecified, it remains undefined in the Admin SDK, and
151+
defers to the FCM backend's default mapping.
150152
151153
152154
"""

0 commit comments

Comments
 (0)