嵌入页消息推送
消息事件
openHref [废弃]
{
"type": "openHref",
"data": "https://www.vhall.com"
}
vhOpenHref
{
"type": "vhOpenHref",
"data": "https://www.vhall.com"
}
层级 | 字段 | 类型 | 说明 |
---|---|---|---|
根级 | type | string | 固定值 : vhOpenHref |
根级 | data | string | 需要跳转的完整 URL 地址 |
webinarInfo
{
"type": "webinarInfo",
"data": {
"webinarStatus": "live",
"webinarType": 1
}
}
层级 | 字段 | 类型 | 说明 |
---|---|---|---|
根级 | type | string | 固定为 webinarInfo |
根级 | data | object | 状态数据 |
data → | webinarStatus | string | 页面状态 : "subscribe"(预约页), "live"(直播页) |
data → | webinarType | number | 1-直播 2-预约 3-结束 4-点播 5-回放 |
vhPlayerSdkEvent
{
"type": "vhPlayerSdkEvent",
"data": {
"event_type": "PLAY",
"video_content_type": 3,
"business_id": "72035607"
}
}
层级 | 字段 | 类型 | 说明 |
---|---|---|---|
根级 | type | string | 固定值:"vhPlayerSdkEvent" |
根级 | data | object | 事件数据 |
data → | event_type | string | 事件类型:"PLAY"、"PAUSE"等 |
data → | video_content_type | number | 视频播放格式 |
data → | business_id | string | 租户 id |
vhCustomToolsEntryClick
{
"type": "vhCustomToolsEntryClick",
"data": {
"webinar_id": 658171537,
"extends": {
"status": 1,
"icon": "https://cnstatic01.e.vhall.com/upload/interacts/screen-imgs/202505/9e/d7/9ed7818c73d48f1432a75e1de262c7c63588.jpeg"
},
"email": "1747361983@example.com"
}
}
层级 | 字段 | 类型 | 说明 |
---|---|---|---|
根级 | type | string | 固定值:"vhCustomToolsEntryClick" (自定义工具入口点击事件类型) |
根级 | data | object | 事件数据容器 |
data | webinar_id | number | 直播活动唯一 ID(示例值:658171537 ) |
data | email | string | 用户参会邮箱(示例值:"1747361983@example.com" ) |
data.extends | - | object | 扩展信息(可选字段) |
data.extends | status | number | 入口状态:1 -开启,0 -关闭 |
data.extends | icon | string | 图标 URL(示例:"https://.../9ed7818c.jpeg" ) |
外链跳转示例代码
修改于 2025-06-09 11:42:51