Exemplo n.º 1
0
 public NotificationPayload(string alert)
 {
     HideActionButton = false;
     Alert            = new NotificationAlert()
     {
         Body = alert
     };
     CustomItems = new Dictionary <string, object[]>();
 }
Exemplo n.º 2
0
 public NotificationPayload(string alert, int badge, string sound)
 {
     HideActionButton = false;
     Alert            = new NotificationAlert()
     {
         Body = alert
     };
     Badge       = badge;
     Sound       = sound;
     CustomItems = new Dictionary <string, object[]>();
 }