Hi, new developer here with a few questions about this change.
I currently have a bot that sends a “just went live” notification of selected streams to a messaging app. So after the change now I have to figure out if it’s a online/offline notification, or a stream change.
So I imagine I do that by keeping a record of the “started_at” field and compare with subsequent events or by remembering the online status state.
Then I started wondering if title/game category changes will trigger the webhook while the stream is offline?
I’m assuming not, but if it does, what would be a good way to tell offline title changes and went online triggers apart? I guess I look at the type field? but the documentation is saying it’s only blank in case of an error which has a little worried.
Any suggestions will be appreciated
Thanks!
Oh! and just to make sure my understanding of the “started_at” field is correct as the API reference description doesn’t say much; but judging from the name, I assume it is when the stream started, and will remain the same until the current stream ends.