Getting realtime channel events with websockets

I want to make a bot and alerts overlay.

I want to know if API have websockets where I can get all events like follow / host / sub etc…

I have seen the Pubsub but it’s only for Sub and Cheer ?

Thanks

Yeah the only documented topics are sub and cheer

There isn’t.

You can connect to Chat over websockets and watch for host, sub (and cheer) events.

There is no websocket for Follow events, you could use Webhooks instead however.

https://dev.twitch.tv/docs/api/webhooks-guide/