我使用此库发送推送: 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
}
};
有什么主意吗?非常感谢!