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