If the Twitch integration is enabled by the user in the Flow settings, the connection state of the Twitch integration will come through here.
twitch_connection((state) => {
    if(state) {
        // do something when Twitch chat connects
    } else {
        // do something when Twitch chat disconnects
    }
});
 state: Boolean dictating the state of the Twitch connection.
APIs
The following APIs are also available:
