We will be winding down Google Business Messages on July 31, 2024. Read more
here.
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 2024-11-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-14 UTC."],[[["An Event signifies an occurrence within a conversation between an agent and a user, encompassing actions like typing or a representative joining/leaving."],["Events are characterized by attributes such as 'name', 'eventType', and 'representative', providing detailed context about the event."],["'EventType' categorizes the nature of the event, including options like \"TYPING_STARTED\", \"REPRESENTATIVE_JOINED\", etc."],["Developers can utilize the 'create' method to initiate an event within a conversation programmatically."]]],[]]