【问题标题】:Send template push notification message using azure notification hub使用 azure 通知中心发送模板推送通知消息
【发布时间】: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


    【解决方案1】:

    如果不了解代码和配置的详细信息,很难准确判断发生了什么。

    但我建议您通过以下方式进行故障排除:

    如果您无法使用以上链接找到解决方案,请告诉我。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-12
      • 2021-08-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-08-25
      相关资源
      最近更新 更多