mirror of
https://github.com/Stone-Red-Software/StoneRed.NetificationApi.git
synced 2026-09-04 16:56:05 +02:00
Add Schedule property to SendNotificationData
This commit is contained in:
@@ -83,6 +83,7 @@ Console.WriteLine("Send notification");
|
||||
SendNotificationData sendNotificationData = new SendNotificationData
|
||||
{
|
||||
NotificationId = notificationId,
|
||||
Schedule = DateTime.Now.AddSeconds(10),
|
||||
User = new NotificationUser
|
||||
{
|
||||
Id = userId
|
||||
|
||||
@@ -37,6 +37,11 @@ public class SendNotificationData
|
||||
/// </summary>
|
||||
public Dictionary<string, string>? Replace { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the time when the notification should be scheduled.
|
||||
/// </summary>
|
||||
public DateTime? Schedule { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the options for the notification.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user