企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
## **4.3 视频推送** ### **4.3.1** ~~~ 数据推送格式示例 { "game_id":1, "channel":"info_videos", "push_type":"new", "data":{ "id":30, "platform_id":1, "source_id":"6976519249644817701", "profile_id":3, "url":"https://v3.douyinvod.com/6c8c35252f619ba0f0c50c2550e12f6a/60e5c3df/video/tos/cn/tos-cn-ve-15/2e5124c38bf24170a16f20dc7911eb1f/?a=6383\u0026br=1342\u0026bt=1342\u0026cd=0%7C0%7C0\u0026ch=10010\u0026cr=0\u0026cs=0\u0026cv=1\u0026dr=0\u0026ds=6\u0026er=\u0026l=021625667011822fdbddc0100fff0030a0b2ee500000030922e08\u0026lr=all\u0026mime_type=video_mp4\u0026net=0\u0026pl=0\u0026qs=0\u0026rc=am9pOTRudHVzNjMzNGkzM0ApOTc3OWlmaDw0N2ZkN2ZpaWdyL2MuLi9rMDVgLS1kLWFzczBfYTBgMGBeLmAuMy8xNGI6Yw%3D%3D\u0026vl=\u0026vr=", "caption":"听完感觉WQ二连都自信了很多#勇敢牛牛 #勇敢牛牛不怕困难 ", "cover_url":"https://p11.douyinpic.com/tos-cn-p-0015/7310ca5b175a4570998e0042d42c39ce~tplv-dy-cropcenter:323:430.jpeg?from=4257465056\u0026s=PackSourceEnum_PUBLISH\u0026se=true\u0026sh=323_430\u0026sc=cover\u0026l=021625667011822fdbddc0100fff0030a0b2ee500000030922e08\u0026biz_tag=", "duration_millis":12036, "publish_time":"2021-06-22T15:38:23+08:00", "like_count":"409859", "game_id":1 } } ~~~ | 返回参数 | 数据类型 | 描述 | 备注 | | --- | --- | --- | --- | | id | int | 视频 id | | | platform_id | int | 来源ID | | | profile\_id | int | 作者 id | | | url | string | 视频地址 | | | caption | string | 说明 | | | cover\_url | string | 封面 | | | duration\_millis | string | 时长 | Millisecond | | publish\_time | string | 发布时间 | | | like\_count | string | 点赞数 | 字符串类型,例如 1.2w | | game\_id | int | 游戏 id | | ### **4.3.2** ~~~ 数据推送格式示例 { "game_id":1, "channel":"info_video_comments", "push_type":"new", "data":{ "id":257, "item_id":30, "content":"视频原声:@牛牛公主", "user_source_id":"MS4wLjABAAAAUwBlMR9TkuAsoU4wEMMOhrzNsvNueBCxAA8EKtmJquM", "user_name":"英雄联盟", "avatar":"https://p3.douyinpic.com/aweme/720x720/316d2000a9a99f7c61dc1.jpeg?from=2956013662", "like_count":"10678", "publish_time":"2021-06-22T15:39:45+08:00" } } ~~~ | 返回参数 | 数据类型 | 描述 | 备注 | | --- | --- | --- | --- | | id | int | 评论 id | | | item\_id | int | **视频 id** | | | content | string | 内容 | | | user\_source\_id | string | 评论人 Id | | | user\_name | string | 评论人名称 | | | avatar | string | 评论人头像 | | | like\_count | int | 点赞数 | | | publish\_time | string | 评论时间 | | | replies | | 回复列表 | | | reply\_to\_comment\_id | int | 回复哪一条评论 | | | reply\_to\_user\_source\_id | string | 回复谁 | | | reply\_to\_user\_name | string | 回复谁 |