MessageEntry

Represents a message entry of a conversation.

JSON representation
 { 
 "role" 
 : 
 enum (  Role 
 
) 
 , 
 "text" 
 : 
 string 
 , 
 "languageCode" 
 : 
 string 
 , 
 "createTime" 
 : 
 string 
 } 
Fields
role

enum ( Role )

Optional. Participant role of the message.

text

string

Optional. Transcript content of the message.

languageCode

string

Optional. The language of the text. See Language Support for a list of the currently supported language codes.

createTime

string ( Timestamp format)

Optional. Create time of the message entry.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30" .

Role

Enumeration of the roles a participant can play in a conversation.

Enums
ROLE_UNSPECIFIED Participant role not set.
HUMAN_AGENT Participant is a human agent.
AUTOMATED_AGENT Participant is an automated agent, such as a Dialogflow agent.
END_USER Participant is an end user that has called or chatted with Dialogflow services.
Create a Mobile Website
View Site in Mobile | Classic
Share by: