GoogleCloudDialogflowV2Message
import type { GoogleCloudDialogflowV2Message } from "https://googleapis.deno.dev/v1/dialogflow:v3.ts";
Represents a message posted into a conversation.
interface GoogleCloudDialogflowV2Message {
content?: string;
readonly createTime?: Date;
languageCode?: string;
readonly messageAnnotation?: GoogleCloudDialogflowV2MessageAnnotation;
name?: string;
readonly participant?: string;
readonly participantRole?:
| "ROLE_UNSPECIFIED"
| "HUMAN_AGENT"
| "AUTOMATED_AGENT"
| "END_USER";
sendTime?: Date;
readonly sentimentAnalysis?: GoogleCloudDialogflowV2SentimentAnalysisResult;
}§Properties
§
readonly createTime?: Date
[src]Output only. The time when the message was created in Contact Center AI.
§
readonly messageAnnotation?: GoogleCloudDialogflowV2MessageAnnotation
[src]Output only. The annotation for the message.
§
name?: string
[src]Optional. The unique identifier of the message. Format:
projects//locations//conversations//messages/
.
§
readonly participantRole?: "ROLE_UNSPECIFIED" | "HUMAN_AGENT" | "AUTOMATED_AGENT" | "END_USER"
[src]Output only. The role of the participant.
§
readonly sentimentAnalysis?: GoogleCloudDialogflowV2SentimentAnalysisResult
[src]Output only. The sentiment analysis result for the message.