We are trying to get push notifications from google drive. We are developing a web platform with several users.
We need to receive whichever users' changes on a webhook. According to documentation it's not clear how to build these channels and their lifecycle.
We need once a user has signed in in our platform automatically receive all changes.
We don't know when to create a channel:
- Once, I mean, it's created and platform will receive notifications "forever" (until channel is explicitly deleted)?
- Or we need to create a channel each time we want to watch out changes (note: we want to watch out changes anytime, regardless user is logged in in our platform). We want to receive notification forever.
How should we handle channel then?