I have created a cloud function to handle some logics in which i would like to close the conversation.
I have tried the following but i have got an error stating that there is no method named close in the conversation
conv.close('Thankyou');
I have checked the documentation of @assistant/conversation where there is no method to close a conversation
I would like to know how to close a conversation from the cloud function as well as is it possible to use the system scenes in the cloud function for example
To end a conversation in a scene we would transit to the End conversation scene. Similarly in the cloud function can we use it
conv.scene.next.name = 'End conversation'
For the custom scene which we create, it works fine but if we try to use the system scenes in the cloud function it fails.