Closed prafulbagai closed 3 years ago
@xtrinch is 'low_priority' still available? if so can you add a sample in readme or docs? I can't find how to set priority in notif.
@hosseinmp76 This basically boils down to how you construct the message, which is best followed by the official firebase-admin docs. An example would be:
message = messaging.Message(
android=messaging.AndroidConfig(
priority='normal',
notification=messaging.AndroidNotification(
title='test',
body='test123',
),
),
)
Use the 'low_priority' prop that you can pass on sending.