novuhq / novu-kotlin

Kotlin SDK for Novu - The open-source notification infrastructure for engineers. 🚀
MIT License
20 stars 6 forks source link

Can't seem to trigger notification to a topic #3

Closed frankkoornstra closed 1 year ago

frankkoornstra commented 1 year ago

Thanks for writing this SDK in Kotlin, it's amazing to see it supported as one of the first languages :heart:

I'm trying to figure out how to send a notification to a topic. In the docs it tells me to do this with the trigger endpoint but none of the constructor methods seems to allow for this input:

to: [{ type: 'Topic', topicKey: topicKey }],

Am I overlooking something or is this something that still needs to be added?

unicodeveloper commented 1 year ago

@nulllvoid @Crashiv Please check this