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

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;
}

§Properties

§
content?: string
[src]

Required. The message content.

§
readonly createTime?: Date
[src]

Output only. The time when the message was created in Contact Center AI.

§
languageCode?: string
[src]

Optional. The message language. This should be a BCP-47 language tag. Example: "en-US".

§

Output only. The annotation for the message.

§
name?: string
[src]

Optional. The unique identifier of the message. Format: projects//locations//conversations//messages/.

§
readonly participant?: string
[src]

Output only. The participant that sends this message.

§
readonly participantRole?: "ROLE_UNSPECIFIED" | "HUMAN_AGENT" | "AUTOMATED_AGENT" | "END_USER"
[src]

Output only. The role of the participant.

§
sendTime?: Date
[src]

Optional. The time when the message was sent.

§

Output only. The sentiment analysis result for the message.