Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4659,7 +4659,6 @@ declare namespace admin.messaging {
* for code samples and detailed documentation.
*/
interface NotificationMessagePayload {
tag?: string;

/**
* The notification's body text.
Expand Down Expand Up @@ -4699,6 +4698,15 @@ declare namespace admin.messaging {
*/
color?: string;

/**
* The sound to play when the device receives the notification. Supports
* "default" or the filename of a sound resource bundled in the app. Sound files
* must reside in `/res/raw/`.
*
* **Platforms:** Android
*/
sound?: string;

/**
* Identifier used to replace existing notifications in the notification drawer.
*
Expand All @@ -4708,8 +4716,8 @@ declare namespace admin.messaging {
* the new notification replaces the existing one in the notification drawer.
*
* **Platforms:** Android
*/
sound?: string;
*/
tag?: string;

/**
* The notification's title.
Expand Down