Flutter Developer
Just wanted to know if Realtime in the Server SDK package is being worked on?
Having a poor experience with another provider but looks like it's my only option because i need that realtime stream for my bot to function.
Votes
0
Replies
11
Participants
Unknown
Messages
12
Flutter Developer
Just wanted to know if Realtime in the Server SDK package is being worked on?
Having a poor experience with another provider but looks like it's my only option because i need that realtime stream for my bot to function.
Admin
Most of the time realtime is not needed in a server because a server can be set up to listen for http requests and Appwrite can send the events via webhooks or functions 🧐
Admin
What's your limitation with doing that?
Flutter Developer
oh, it's not an approach i've used before.
I'm building a discord bot and I want to post a channel message based on a collection update/create. Can you point me in the right direction with your approach how to make that happen?
Flutter Developer
I'm using DART / FLUTTER btw.
I will have a flutter app too that will essentially generate these database events.
Admin
Flutter Developer
And I could just use either?
Admin
Webhooks is the easiest. You typically use functions if you need something more custom
Flutter Developer
Allright, i shall give webhooks a go. Thanks!
Flutter Developer
do i need to add the web platform to my project to use webhooks?
Admin
No, web platforms are clients that are connecting to your project.
Flutter Developer
My bad, i got juked by my screen. Back on track.