<Profile.DisplayName> can be used in push notification template but this will give the name of the player whom the notification is been sent.
I am implementing a friend system so when player A sends request to player B, player B should get notification which has name of player A.
How can this be achieved with push notification template?
If it cannot be achieved with this then how can language be fetched for user(which is been set in playfab) in cloudscript and based on the language , we can set custom messages and use SendPushNotification API. Is there any way to get player language in cloudscript?