Represents a message entry of a conversation.
JSON representation |
---|
{
"role": enum ( |
Fields | |
---|---|
role |
Optional. Participant role of the message. |
text |
Optional. Transcript content of the message. |
languageCode |
Optional. The language of the text. See Language Support for a list of the currently supported language codes. |
createTime |
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: |
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. |