Files
adas-core/adas-core.Domain/Models/WebMessageNotification.cs

18 lines
610 B
C#

namespace adas_core.Domain.Models;
public class WebMessageNotification
{
//{"notification":
//{"title":"Notifications are cool",
//"body":"Know how to send notifications through Angular with this article!",
//"icon":"https://www.shareicon.net/data/256x256/2015/10/02/110808_blog_512x512.png",
//"vibrate":[100,50,100],
//"data":{"url":"https://medium.com/@arjenbrandenburgh/angulars-pwa-swpush-and-swupdate-15a7e5c154ac"}}
public string? Title { get; set; }
public string? Body { get; set; }
public int[]? Vibrate { get; set; }
public string? Icon { get; set; }
}