Idea

Jakub Smekal avatar image
Jakub Smekal suggested

Custom formatting fields in push notification templates

Hello,

this idea would allow to pass custom values to localized push notification messages. Here is an example:

Push notification template:

ID: xyz

English content message: <CustomParams.Player> has sent you <CustomParams.Coins> coins!

German content message: ...

Cloud script:

server.SendPushNotificationFromTemplate({
    Recipient: "target player ID",	
    PushNotificationTemplateId: "xyz",	
    CustomParams: {
        Player: "Peter",
        Coins: 1000	
    }
});		

Result for target player:

Peter has sent you 1000 coins!

Push Notifications
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

No Comments

·

Write a Comment

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.