Jump to content

INotificationsRepository Interface "AddNotification" what is URL please??


chef
 Share

Recommended Posts

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

Thank you :)

 

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

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...