REST Resource: conversations.events
Stay organized with collections
Save and categorize content based on your preferences.
Resource: Event
An event in a conversation between an agent and a user.
JSON representation |
{
"name": string,
"eventType": enum (EventType ),
"representative": {
object (Representative )
}
} |
Fields |
name |
string
The name of the event, as set by Business Messages. Resolves to "conversations/{conversationId}/events/{eventId}", where {conversationId} is the unique ID for the conversation and {eventId} is the unique ID for the event.
|
eventType |
enum (EventType )
The type of the event.
|
representative |
object (Representative )
Details about the representative (human or chatbot) that sent the event.
|
EventType
Enums |
EVENT_TYPE_UNSPECIFIED |
Not specified. |
TYPING_STARTED |
The representative is typing. |
TYPING_STOPPED |
The representative stopped typing. |
REPRESENTATIVE_JOINED |
The representative joined the conversation. |
REPRESENTATIVE_LEFT |
The representative left the conversation. |
Methods |
|
Creates an event in a conversation. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-03-21 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]