Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudDialogflowCxV3WebhookRequest

import type { GoogleCloudDialogflowCxV3WebhookRequest } from "https://googleapis.deno.dev/v1/dialogflow:v3.ts";

The request message for a webhook call. The request is sent as a JSON object and the field names will be presented in camel cases. You may see undocumented fields in an actual request. These fields are used internally by Dialogflow and should be ignored.

interface GoogleCloudDialogflowCxV3WebhookRequest {
detectIntentResponseId?: string;
dtmfDigits?: string;
languageCode?: string;
payload?: {
[key: string]: any;
}
;
text?: string;
transcript?: string;
triggerEvent?: string;
triggerIntent?: string;
}

§Properties

§
detectIntentResponseId?: string
[src]

Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller.

§
dtmfDigits?: string
[src]

If DTMF was provided as input, this field will contain the DTMF digits.

§

Always present. Information about the fulfillment that triggered this webhook call.

§

Information about the last matched intent.

§
languageCode?: string
[src]

The language code specified in the original request.

§

Information about the language of the request.

§

The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;

§

Information about page status.

§
payload?: {
[key: string]: any;
}
[src]

Custom data set in QueryParameters.payload.

§

The sentiment analysis result of the current user request. The field is filled when sentiment analysis is configured to be enabled for the request.

§

Information about session status.

§
text?: string
[src]

If natural language text was provided as input, this field will contain a copy of the text.

§
transcript?: string
[src]

If natural language speech audio was provided as input, this field will contain the transcript for the audio.

§
triggerEvent?: string
[src]

If an event was provided as input, this field will contain the name of the event.

§
triggerIntent?: string
[src]

If an intent was provided as input, this field will contain a copy of the intent identifier. Format: projects//locations//agents//intents/.