[SOLVED] how to know if the document was created, updated or deleted in realtime payload?
- 0
- Databases
- Realtime
- Web
i'm working on a chat system, and have a realtime connection in the chat. so when i get a response in the realtime callback, i need to check if the new document was created, updated, or deleted to show users the corresponding message. is there any way to check that?
Appwrite: Cloud App: NextJS
The event should tell you if it's a create, update, or delete. See https://appwrite.io/docs/apis/realtime#payload
[SOLVED] how to know if the document was created, updated or deleted in realtime payload?
Recommended threads
- Problem with Google Workspace at DNS Rec...
Hello, I bought a domain at Namecheap, and Google Workspace used to work there, but now that I switched from Custom DNS to Appwrite's nameservers, it doesn't w...
- change role of a team member in Appwrite
It's not possible to add/change roles of a team meber in Appwrite Frontend. When you click on a member of a team you get forwarded to the configuration page of ...
- Session not found. Please run appwrite l...
I have encounter an issue with appwrite CLI They asking for a login session but in the doc, it’s mention that only setup client with endpoint / api key is enou...