Learn more about the Jovo
$response object offers helpful features to access information from the response that is sent back to the platform (e.g. Amazon Alexa or Google Assistant).
You can access the response object like this:
||Setts session data. Learn more about session data here.|
For some use cases (especially Unit Testing), it might be helpful to get information from a response object, like
You can use these cross-platform helper methods:
||Returns speech text without "speak" and tags.|
||Returns reprompt text without "speak" tags.|
||Checks if response has a specific session attribute in it.|
||Returns session data. Learn more about session data here.|
||Checks if response has state in it|
Any specific questions? Just drop them below. Alternatively, you can also fill out this feedback form. Thank you!
Be the first to get our free tutorials, courses, and other resources for voice app developers.