Giøn
Giøn
NNovu
Created by Giøn on 2/22/2024 in #💬│support
Sending a chat message using GetStream
Hello @Zac Clifton , thank you for your reply. So if I understand correctly, the data that I would need to add to a subscriber is a webhook URL, which will be used when sending a message (https://github.com/novuhq/novu/pull/4692/files#diff-35f9b2ecd35141410fa0c9dd8ef020de8458e1f9ed6a3bead1abc6003d426e25R22-R35 ). It looks to me that the format is not the one documented in the stream API documentation https://getstream.io/chat/docs/rest/#messages-sendmessage. I'm not really an expert with the stream API, but I'm not able to understand exactly what this webhookURL is. A way to us it would require to create a new endpoint on my backend which will accept these requests and sends the message to the channel and the originator that I want to use. What do you think?
4 replies