Closed uzzaircuremd closed 11 months ago
That documentation does not belong to this repository and is the documentation for Novu itself (and is outdated although in issue #72 you can see the authors are trying to get up to date).
EvenTriggerDataDto
is obsolete as of 0.3.0 of this library and the documentation on the readme) has the new implementation which I will repeat:
await Event.Trigger(
new EventCreateData
{
EventName = 'event-name',
To = { SubscriberId =subscriberId },
Payload = new Payload("Bogus payload"),
});
I di not found EventTriggerDataDto in C# std. while its mention in code suggestion.