接口地址
[接口服务器地址]/api/im/custom.html
Request Body
名称 |
必选 |
类型 |
说明 |
sender |
true |
string |
发送者ID |
recver |
true |
string |
接收者 用户:json格式 [{"id":"100","name":"test1"},{"id":"101","name":"test2"}]; 群组:群组ID |
url |
true |
string |
PC客户端气泡的详情页面 |
title |
true |
string |
标题 |
desc |
true |
string |
描述 |
icon |
true |
string |
图标 |
ctype |
false |
string |
会话类型 0:单聊(默认) 1:群组 2:群发 |
url_mobile |
false |
string |
移动端的列表页面 |
url_pc |
false |
string |
PC客户端的列表页面 |
target_type |
false |
string |
打开类型 1:内置浏览器(默认) 2:系统浏览器 |
msgtype |
false |
json |
消息类型 link(默认) |
msgexttype |
false |
string |
消息的扩展类型 可用来消息分类 如 schedule |
ext_data |
false |
json |
扩展数据 |
返回结果(成功)
{"status":1,"code":"0","msg":"","data":[]}