我们将于 2024 年 7 月 31 日逐步淘汰 Google Business Messages。点击
此处了解详情。
REST Resource: conversations.events
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:事件
字段 |
name |
string
由 Business Messages 设置的活动名称。解析为“conversations/{conversationId}/events/{eventId}”,其中 {conversationId} 是对话的唯一 ID,{eventId} 是事件的唯一 ID。
|
eventType |
enum (EventType )
事件的类型。
|
representative |
object (Representative )
发送事件的代表(真人或聊天机器人)的详细信息。
|
EventType
枚举 |
EVENT_TYPE_UNSPECIFIED |
未指定。 |
TYPING_STARTED |
代表正在输入。 |
TYPING_STOPPED |
客服代表已停止输入。 |
REPRESENTATIVE_JOINED |
客服代表已加入对话。 |
REPRESENTATIVE_LEFT |
客服代表已退出对话。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-10-10。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-10-10。"],[[["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."]]],[]]