[RESOLVED] Notification Template
Hi,
can anyone help me how I can translate this format with my current code.
Quote:
{
"aps" : { "alert" : "Message received from Bob" },
"acme2" : "Message" ]
}
Currently I have this code.
Code:
string tagExpression = $"{alertMessage.SiteCode}:{alertMessage.AlertTypeId}";
var headers = new Dictionary<string, string> { { "apns-push-type", "alert" }};
var tempprop = new Dictionary<string, string> { { "message", inAppMessage}};
var notification = new TemplateNotification(tempprop)
{
Headers = headers
};
await hub.SendNotificationAsync(notification, tagExpression);
I need to specify another message on "acme" parameter.
Thank you
Re: [RESOLVED] Notification Template
Have you explored incorporating the "acme" parameter into your current code for message translation, and if so, do you need assistance in implementing it?