I would like to use the resetContext method, but it always throws this error Possible Unhandled Promise Rejection (id: 0): TypeError: undefined is not an object (evaluating 'this.client.getAccessToken'). I'm using the V2. My goal is to use Dialogflow_V2.resetContexts when the intent is settled as end of conversation. All the other methods I’m using work fine.
Is this method only available for V1? Or there is something wrong with my code?
Hi,
I would like to use the resetContext method, but it always throws this error
Possible Unhandled Promise Rejection (id: 0): TypeError: undefined is not an object (evaluating 'this.client.getAccessToken')
. I'm using the V2. My goal is to useDialogflow_V2.resetContexts
when the intent is settled as end of conversation. All the other methods I’m using work fine.Is this method only available for V1? Or there is something wrong with my code?