Add support for priority

Set default title to topic unique, as displayed in subscriptions list, if not provided
Increase toast timeout to 5 seconds
This commit is contained in:
Alexander Horner
2022-12-08 19:54:14 +00:00
parent d90ddc3be4
commit 7f73bd2cd1
5 changed files with 37 additions and 7 deletions

View File

@@ -20,6 +20,9 @@ namespace ntfysh_client.Notifications
public string Message { get; set; } = null!;
[JsonProperty("title")]
public string Title { get; set; } = null!;
public string? Title { get; set; }
[JsonProperty("priority")]
public NotificationPriority? Priority { get; set; }
}
}