Url
[接口服务器地址]/api/users/set_conversion.html
Request Headers
Name |
必选 |
Type |
Description |
Content-Type |
true |
string |
application/json; charset=UTF-8 |
authen |
true |
string |
Authen 什么是认证码
|
appid |
true |
string |
AppID 什么是接入ID
|
timestamp |
true |
string |
Timestamp |
uid |
true |
string |
UID |
lang |
true |
string |
Language zh-cn,en-us
|
Request Body
Name |
必选 |
Type |
Description |
user_id |
true |
string |
当前用户ID |
conversion_type |
true |
integer |
会话类型 0:普通用户, 1:群组 |
conversion_id |
true |
string |
会话ID 对方ID, 群组ID |
is_top |
false |
integer |
置顶 0:不置顶(默认) 1:置顶 |
no_disturbing_style |
false |
integer |
免打扰 0:关闭(默认) 1:开启 |
Return
{"status":1,"code":0,"msg":"","data":{"gid":"aad61e9a76b911e9a71d88d7f697be9a","user_id":"user_id1","conversion_id":"user_id2","conversion_type":0,"is_top":1,"no_disturbing_style":0}}