设置用户看板
设置用户看板
Section titled “设置用户看板”https://chat-go.jwzhd.com/open-apis/v1/bot/board?token=xxxxxxxxxx
POST
curl --location --request POST 'https://chat-go.jwzhd.com/open-apis/v1/bot/board?token=xxxxxxxxxx' \--header 'Content-Type: application/json' \--data-raw '{ "chatId": "7058262", "chatType": "user", "contentType": "text", "content": "你好"}'Content-Type: "application/json; charset=utf-8"| 字段 | 类型 | 是否必填 | 说明 |
|---|---|---|---|
| string | 否 | (已弃用)接收消息对象ID,用户: userId 群: groupId | |
| string | 否 | (已弃用)接收对象类型,用户: user 群: group | |
| chatId | string | 是 | 接收消息对象ID,用户: userId 群: groupId |
| chatType | string | 是 | 接收对象类型,用户: user 群: group |
| memberId | string | 否 | 群成员用户ID, 如果chatType为 group 时,此字段生效,可为指定群成员设置看板 |
| contentType | string | 是 | 消息类型,取值如下 text\markdown\html |
| content | string | 是 | 内容文本 |
| expireTime | int | 否 | 过期时间的时间戳,秒级时间戳,0 为不过期 |
| 字段 | 类型 | 说明 |
|---|---|---|
| code | int | 响应代码 |
| message | string | 响应信息,包括异常信息 |
| data | Object | 返回数据 |