Gets the unique conversation ID. It's a new ID for the initial query, and stays the same until the end of the conversation.
Get the current Actions SDK intent.
Set reprompts when users don't provide input to this action (no-input errors). Each reprompt represents as the SimpleResponse, but raw strings also can be specified for convenience (they're passed to the constructor of SimpleResponse). Notice that this value is not kept over conversations. Thus, it is necessary to set the reprompts per each conversation response.
True if the app is being tested in sandbox mode. Enable sandbox mode in the Actions console to test transactions.
Sets speech biasing options.
Gets the User object. The user object contains information about the user, including a string identifier and personal information (requires requesting permissions, see conv.ask(new Permission)).
Asks to collect user's input. All user's queries need to be sent to the app. The guidelines when prompting the user for a response must be followed at all times.
A response fragment for the library to construct a single complete response
Have Assistant render the speech response and close the mic.
A response fragment for the library to construct a single complete response
Generated using TypeDoc
The session data in JSON format. Stored using conversationToken.
app.intent('actions.intent.MAIN', conv => { conv.data.someProperty = 'someValue' })