
i want to use the appwrite realtime feature for the context of commenting and messaging

As of now, you can use Appwrite real-time only from one side server->client

PLease explain better, much interesting with examples

Appwrite realtime will broadcast events to all subscribers through change-channel So, for example, you can initialize a subscriber in your app to listen to a collection/document channel. Then, all changes/deletions/additions to the collection events will be broadcast through that channel.
In messaging example You can add documents to each collection. This most be done through API, then the change will be broadcast in realtime
Recommended threads
- Automatically Assigning the user and tea...
Hey AppWriters! Day 2 for me 😅 I'm reading the docs https://appwrite.io/docs/products/auth/team-invites In order to understand how a document is added then ...
- I create storage and save images in that...
- Getting Cors Error after 2 weeks
TLDR: I've deployed a appwrite function and adding appropriate headers while sending the request back and it was working well and good previous week but today s...
