We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 077194e commit 618a360Copy full SHA for 618a360
syncmsg/message.go
@@ -120,6 +120,7 @@ type EnterSessionEvent struct {
120
ExternalUserID string `json:"external_userid"` // 客户UserID
121
Scene string `json:"scene"` // 进入会话的场景值,获取客服帐号链接开发者自定义的场景值
122
SceneParam string `json:"scene_param"` // 进入会话的自定义参数,获取客服帐号链接返回的url,开发者按规范拼接的scene_param参数
123
+ WelcomeCode string `json:"welcome_code"` // 如果满足发送欢迎语条件(条件为:1. 企业没有在管理端配置了原生欢迎语;2. 用户在过去48小时里未收过欢迎语,且未向该用户发过消息),会返回该字段。可用该welcome_code调用发送事件响应消息接口给客户发送欢迎语。
124
} `json:"event"` // 事件消息
125
}
126
0 commit comments