Hey, I want to access the Contexts Parameters from the Dialogflow JSON. I tried to add a function to the apiai.php but it's not working.
I added teh following lines to the received function
$context = isset($response->result->contexts->parameters) ? (array) $response->result->contexts->parameters : ;