namespace ElectronNET.API.Entities
{
public class NotificationOptions
{
///
/// A title for the notification, which will be shown at the top of the notification
/// window when it is shown
///
public string Title { get; set; }
///
/// The body text of the notification, which will be displayed below the title or
/// subtitle
///
public string Body { get; set; }
///
/// A subtitle for the notification, which will be displayed below the title.
///
public string Subtitle { get; set; }
///
/// Whether or not to emit an OS notification noise when showing the notification
///
public bool Silent { get; set; }
///
/// An icon to use in the notification
///
public string Icon { get; set; }
///
/// Whether or not to add an inline reply option to the notification.
///
public bool HasReply { get; set; }
///
/// The placeholder to write in the inline reply input field.
///
public string ReplyPlaceholder { get; set; }
///
/// The name of the sound file to play when the notification is shown.
///
public string Sound { get; set; }
public NotificationOptions(string title, string body)
{
Title = title;
Body = body;
}
}
}