REST Resource: conversations.events

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

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

create

Creates an event in a conversation.