GoogleCloudDialogflowCxV3beta1EventHandler
import type { GoogleCloudDialogflowCxV3beta1EventHandler } from "https://googleapis.deno.dev/v1/dialogflow:v3.ts";
An event handler specifies an event that can be handled during a session.
When the specified event happens, the following actions are taken in order: *
If there is a trigger_fulfillment
associated with the event, it will be
called. * If there is a target_page
associated with the event, the session
will transition into the specified page. * If there is a target_flow
associated with the event, the session will transition into the specified
flow.
§Properties
The target flow to transition to. Format:
projects//locations//agents//flows/
.
The target page to transition to. Format:
projects//locations//agents//flows//pages/
.
The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks.