GoogleCloudDialogflowV2ConversationEvent
import type { GoogleCloudDialogflowV2ConversationEvent } from "https://googleapis.deno.dev/v1/dialogflow:v3.ts";
Represents a notification sent to Pub/Sub subscribers for conversation lifecycle events.
interface GoogleCloudDialogflowV2ConversationEvent {
conversation?: string;
errorStatus?: GoogleRpcStatus;
newMessagePayload?: GoogleCloudDialogflowV2Message;
type?:
} | "TYPE_UNSPECIFIED"
| "CONVERSATION_STARTED"
| "CONVERSATION_FINISHED"
| "HUMAN_INTERVENTION_NEEDED"
| "NEW_MESSAGE"
| "UNRECOVERABLE_ERROR";
§Properties
§
conversation?: string
[src]The unique identifier of the conversation this notification refers to.
Format: projects//conversations/
.
§
errorStatus?: GoogleRpcStatus
[src]More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.
§
newMessagePayload?: GoogleCloudDialogflowV2Message
[src]Payload of NEW_MESSAGE event.