【发布时间】:2016-07-08 00:00:28
【问题描述】:
您好,我想使用 azure 通知中心发送模板通知。我想在通知中发送 json 对象(键值对),他们将处理并显示应用程序站点。我尝试使用以下代码,但没有收到通知!
var notificationMessage = new Dictionary<string, string> { { "PushType", "0" }, { "Id","6" }, { "Type", "0"}, { "SubType", "0" }, { "Title", "test" } };
await instance.SendTemplateNotificationAsync(notificationMessage, user.UserID.ToString());
【问题讨论】:
标签: push-notification azure-notificationhub