Skip to content

取消用户看板 ​

官方文档:https://www.yhchat.com/document/449-448

请求URL ​

https://chat-go.jwzhd.com/open-apis/v1/bot/board-dismiss?token=016ec8e4d17a4fbda3ccb0e99b44aca0

请求类型 ​

POST

请求头 ​

bash
Content-Type: "application/json"

请求参数 ​

字段类型是否必填说明
recvIdstring否(已弃用)接收看板对象ID,用户: userId 群: groupId
recvTypestring否(已弃用)接收看板对象类型,用户: user 群: group
chatIdstring是接收看板对象ID,用户: userId 群: groupId
chatTypestring是接收 看板对象类型,用户: user 群: group
memberIdstring否群成员用户ID, 如果chatType为 group 时,此字段生效,为指定群成员设置看板

响应内容 ​

字段类型说明
codeint响应代码
messagestring响应信息,包括异常信息
dataObject返回数据

完整示例 ​

bash
curl --location 'https://chat-go.jwzhd.com/open-apis/v1/bot/board-dismiss?token=016ec8e4d17a4fbda3ccb0e99b44aca0' \
--header 'Content-Type: application/json' \
--data '{
    "chatId": "7756242",
    "chatType": "user"
}'
json
{
    "chatId": "7756242",
    "chatType": "user"
}

请求示例响应 ​

json
{
    "code": 1,
    "msg": "success"
}