@@ -10,28 +10,28 @@ public class NotificationOptions
1010 {
1111 /// <summary>
1212 /// A title for the notification, which will be shown at the top of the notification
13- /// window when it is shown
13+ /// window when it is shown.
1414 /// </summary>
1515 public string Title { get ; set ; }
1616
1717 /// <summary>
18- /// The body text of the notification, which will be displayed below the title or
19- /// subtitle
18+ /// A subtitle for the notification, which will be displayed below the title.
2019 /// </summary>
21- public string Body { get ; set ; }
20+ public string SubTitle { get ; set ; }
2221
2322 /// <summary>
24- /// A subtitle for the notification, which will be displayed below the title.
23+ /// The body text of the notification, which will be displayed below the title or
24+ /// subtitle.
2525 /// </summary>
26- public string Subtitle { get ; set ; }
26+ public string Body { get ; set ; }
2727
2828 /// <summary>
29- /// Whether or not to emit an OS notification noise when showing the notification
29+ /// Whether or not to emit an OS notification noise when showing the notification.
3030 /// </summary>
3131 public bool Silent { get ; set ; }
3232
3333 /// <summary>
34- /// An icon to use in the notification
34+ /// An icon to use in the notification.
3535 /// </summary>
3636 public string Icon { get ; set ; }
3737
@@ -40,6 +40,11 @@ public class NotificationOptions
4040 /// </summary>
4141 public bool HasReply { get ; set ; }
4242
43+ /// <summary>
44+ /// The timeout duration of the notification. Can be 'default' or 'never'.
45+ /// </summary>
46+ public string TimeoutType { get ; set ; }
47+
4348 /// <summary>
4449 /// The placeholder to write in the inline reply input field.
4550 /// </summary>
@@ -50,16 +55,27 @@ public class NotificationOptions
5055 /// </summary>
5156 public string Sound { get ; set ; }
5257
58+ /// <summary>
59+ /// The urgency level of the notification. Can be 'normal', 'critical', or 'low'.
60+ /// </summary>
61+ public string Urgency { get ; set ; }
62+
5363 /// <summary>
5464 /// Actions to add to the notification. Please read the available actions and
55- /// limitations in the NotificationAction documentation
65+ /// limitations in the NotificationAction documentation.
5666 /// </summary>
5767 public NotificationAction Actions { get ; set ; }
5868
5969 /// <summary>
60- /// Emitted when the notification is shown to the user,
61- /// note this could be fired multiple times as a notification
62- /// can be shown multiple times through the Show() method.
70+ /// A custom title for the close button of an alert. An empty string will cause the
71+ /// default localized text to be used.
72+ /// </summary>
73+ public string CloseButtonText { get ; set ; }
74+
75+ /// <summary>
76+ /// Emitted when the notification is shown to the user, note this could be fired
77+ /// multiple times as a notification can be shown multiple times through the Show()
78+ /// method.
6379 /// </summary>
6480 [ JsonIgnore ]
6581 public Action OnShow { get ; set ; }
@@ -148,4 +164,4 @@ public NotificationOptions(string title, string body)
148164 Body = body ;
149165 }
150166 }
151- }
167+ }
0 commit comments