diff --git a/ElectronNET.API/Entities/NotificationOptions.cs b/ElectronNET.API/Entities/NotificationOptions.cs
index ce73b048..d1913798 100644
--- a/ElectronNET.API/Entities/NotificationOptions.cs
+++ b/ElectronNET.API/Entities/NotificationOptions.cs
@@ -10,28 +10,28 @@ public class NotificationOptions
{
///
/// A title for the notification, which will be shown at the top of the notification
- /// window when it is shown
+ /// 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
+ /// A subtitle for the notification, which will be displayed below the title.
///
- public string Body { get; set; }
+ public string SubTitle { get; set; }
///
- /// A subtitle for the notification, which will be displayed below the title.
+ /// The body text of the notification, which will be displayed below the title or
+ /// subtitle.
///
- public string Subtitle { get; set; }
+ public string Body { get; set; }
///
- /// Whether or not to emit an OS notification noise when showing the notification
+ /// 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
+ /// An icon to use in the notification.
///
public string Icon { get; set; }
@@ -40,6 +40,11 @@ public class NotificationOptions
///
public bool HasReply { get; set; }
+ ///
+ /// The timeout duration of the notification. Can be 'default' or 'never'.
+ ///
+ public string TimeoutType { get; set; }
+
///
/// The placeholder to write in the inline reply input field.
///
@@ -50,16 +55,27 @@ public class NotificationOptions
///
public string Sound { get; set; }
+ ///
+ /// The urgency level of the notification. Can be 'normal', 'critical', or 'low'.
+ ///
+ public string Urgency { get; set; }
+
///
/// Actions to add to the notification. Please read the available actions and
- /// limitations in the NotificationAction documentation
+ /// limitations in the NotificationAction documentation.
///
public NotificationAction Actions { get; set; }
///
- /// Emitted when the notification is shown to the user,
- /// note this could be fired multiple times as a notification
- /// can be shown multiple times through the Show() method.
+ /// A custom title for the close button of an alert. An empty string will cause the
+ /// default localized text to be used.
+ ///
+ public string CloseButtonText { get; set; }
+
+ ///
+ /// Emitted when the notification is shown to the user, note this could be fired
+ /// multiple times as a notification can be shown multiple times through the Show()
+ /// method.
///
[JsonIgnore]
public Action OnShow { get; set; }
@@ -148,4 +164,4 @@ public NotificationOptions(string title, string body)
Body = body;
}
}
-}
+}
\ No newline at end of file