Resource: Event
An event in a conversation between an agent and a user.
JSON representation |
---|
{ "name": string, "eventType": enum ( |
Fields | |
---|---|
name |
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 |
The type of the event. |
representative |
Details about the representative (human or chatbot) that sent the event. |
EventType
Type of an agent event.
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. |