Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
NotificationIntent.cs
2
4{
8 public sealed class NotificationIntent
9 {
13 public string Title { get; set; } = string.Empty;
14
18 public string? Body { get; set; }
19
23 public NotificationAction Action { get; set; } = NotificationAction.Unknown;
24
28 public string? EntityId { get; set; }
29
33 public string? Channel { get; set; }
34
38 public string? DeepLink { get; set; }
39
43 public Dictionary<string, string> Extras { get; set; } = new();
44
48 public int Version { get; set; } = 1;
49
53 public string? CorrelationId { get; set; }
54
59 }
60}
Platform-neutral intent describing how to route a notification.
string? EntityId
Gets or sets an entity identifier associated with the action.
string? CorrelationId
Gets or sets an optional correlation identifier.
string? Body
Gets or sets the message body to display.
string? DeepLink
Gets or sets an optional deep link.
string Title
Gets or sets the title to display.
int Version
Gets or sets the schema version of the intent payload.
NotificationPresentation Presentation
Gets or sets how the notification should be presented.
NotificationAction Action
Gets or sets the intended action.
string? Channel
Gets or sets the push channel identifier.
Dictionary< string, string > Extras
Gets or sets extra data used for routing.
NotificationAction
Actions that can be routed from notifications.
NotificationPresentation
Presentation preference for a notification intent.