public AppleNotificationPayload(string alert)
 {
     HideActionButton = false;
     Alert            = new AppleNotificationAlert()
     {
         Body = alert
     };
     CustomItems = new Dictionary <string, object[]>();
 }
        public static AppleNotification WithAlert(this AppleNotification n, AppleNotificationAlert alert)
        {
            if (n.Payload == null)
            {
                n.Payload = new AppleNotificationPayload();
            }

            n.Payload.Alert = alert;

            return(n);
        }
 public AppleNotificationPayload(string alert, int badge, string sound)
 {
     HideActionButton = false;
     Alert            = new AppleNotificationAlert()
     {
         Body = alert
     };
     Badge       = badge;
     Sound       = sound;
     CustomItems = new Dictionary <string, object[]>();
 }