11---
2- sidebar_position : 7
2+ sidebar_position : 3
33title : 多个用户对同一会话设置字段
44hide_title : true
55---
@@ -22,7 +22,7 @@ hide_title: true
2222| header名| 示例值| 选填| 类型| 说明|
2323| :---- | :------- | :--- | ---| ------ |
2424| operationID| 1646445464564| 必填| string| 用于全局链路追踪,建议使用时间戳,在每个请求中独立|
25- | token| eyJhbxxxx3Xs| 必填| string| 管理员token |
25+ | token| eyJhbxxxx3Xs| 必填| string| [ 管理员 token ] ( docs/restapi/apis/authenticationManagement/getToken.mdx ) |
2626
2727
2828### 请求参数示例
@@ -50,14 +50,15 @@ hide_title: true
5050| 字段名| 选填| 类型| 说明|
5151| :---- | :------- | :--- | ---|
5252| userIDs| 必填| array| 要设置会话字段的用户ID列表|
53+ | userIDs| 必填| array| 要设置会话字段的用户ID列表|
5354| conversation| 必填| object| 会话对象|
5455| conversation.conversationID| 必填| string| 会话ID|
5556| conversation.conversationType| 必填| int| 会话类型,单聊为1,群聊为3|
5657| conversation.userID| 选填| string| 会话类型为单聊时必填|
5758| conversation.groupID| 选填| string| 会话类型为群聊时必填|
5859| conversation.recvMsgOpt| 选填| int| 会话免打扰状态|
59- | conversation.isPinned| 选填| boolean| 会话是否置顶|
6060| conversation.attachedInfo| 选填| string| 会话附加信息,预留字段|
61+ | conversation.isPinned| 选填| boolean| 会话是否置顶|
6162| conversation.isPrivateChat| 选填| boolean| 是否开启阅后即焚|
6263| conversation.ex| 选填| string| 会话扩展字段|
6364| conversation.burnDuration| 选填| int| 设置会话阅后即焚时间,单位秒|
@@ -77,7 +78,7 @@ hide_title: true
7778
7879| 参数名| 类型| 说明|
7980| :---- | :------- | :--- |
80- | errCode| int| 错误码, 0表示成功|
81+ | errCode| int| 错误码, 0表示成功|
8182| errMsg| string| 错误简要信息,为空|
8283| errDlt| errDlt| 错误详细信息,为空|
8384| data| object| 通用数据对象,具体结构见下方|
@@ -96,6 +97,6 @@ hide_title: true
9697
9798| 参数名| 类型| 说明|
9899| :---- | :------- | :--- |
99- | errCode| int| 错误码, 具体查看全局错误码文档|
100+ | errCode| int| 错误码, 具体查看全局错误码文档|
100101| errMsg| string| 错误简要信息|
101102| errDlt| errDlt| 错误详细信息|
0 commit comments