视频-评论
请求参数
| 参数名 | 位置 | 类型 | 必填 | 说明 |
|---|---|---|---|---|
wechat-token | header | string | 必填 | — |
appId | body | string | 必填 | 设备ID |
content | body | string | 必填 | 评论内容 |
objectId | body | integer | 必填 | 视频号的objectId |
sessionBuffer | body | string | 必填 | 视频号的sessionBuffer |
objectNonceId | body | string | — | 视频号的objectNonceId |
opType | body | integer | 必填 | 0评论 1删除评论 |
myUserName | body | string | 必填 | 自己的username |
myRoleType | body | integer | 必填 | 自己的roletype |
replyUserName | body | string | — | 回复评论的username |
refCommentId | body | string | — | 回复评论时传 |
rootCommentId | body | string | — | 回复评论时传 |
commentId | body | integer | 必填 | 评论ID,删除评论时传 |
请求示例
{
"appId": "",
"content": "",
"objectId": 0,
"sessionBuffer": "",
"objectNonceId": "",
"opType": 0,
"myUserName": "",
"myRoleType": 0,
"replyUserName": "",
"refCommentId": "",
"rootCommentId": "",
"commentId": 0
}响应示例
{
"ret": 200,
"msg": "操作成功",
"data": {
"commentId": null
}
}