FCM.Net发送图像和clickAction不起作用

时间:2018-10-14 09:23:41

标签: c# .net push-notification

我使用此库发送推送: https://github.com/angelobelchior/FCM.Net

但是由于某种原因,发送img和与推送的链接不起作用。

这是我的对象

 using (var sender = new Sender("key"))
        {
            var message = new Message
            {
                RegistrationIds = new List<string> { first, second },
                Notification = new Notification
                {
                    Title = "abc",
                    Body = "abc",
                    ClickAction = "https://www.google.co.il", // for action link
                    Icon = "https://s3.eu-west-1.amazonaws.com/mgar.kic.images/test.jpg" // for send img

                }
            };

有什么主意吗?非常感谢!

0 个答案:

没有答案