Jump to content

INotificationsRepository Interface "AddNotification" what is URL please??


Recommended Posts

Posted (edited)

When building a notification class what is the URL parameter supposed to be when sending notification to each user?

 Await notify.AddNotification(New Notification With
                                         {
                                             .Date = DateTime.Now,
                                             .Description = des,
                                             .Id = userId,
                                             .IsRead = False,
                                             .Level = New NotificationLevel = level,
                                             .Name = "Vera Home Automation Scene Notification",
                                             .Url = {RIGHT HERE PLEASE!!},
                                             .UserId = userId
                                         }, CancellationToken.None)

Thank you in advance!

 

Ben

Edited by chef
Posted

Okay, I have, literally, tonight to implement this interface. Could anyone who know tell me what the URL parameter is? Sorry to sound impatient...

Posted

It is there in case you want to be able to show a clickable link in the notification.  It is optional.

Posted

Thank you :)

 

The intellisense usually lists optional parameters. It didn't this time. Really appreciated ebr!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...