Url
[接口服务器地址]/api/message/send_custom.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 |
sender |
true |
string |
发送者ID |
recver |
true |
string |
接收者 用户:json格式 [{"id":"user_id1","name":"用户1"},{"id":"user_id1","name":"用户2"}]; 群组:群组ID |
title |
true |
string |
标题 |
desc |
true |
string |
详情 |
icon |
false |
string |
图标 |
url_mobile |
false |
string |
移动端打开地址 |
url_pc |
false |
string |
PC端打开地址 |
extdata |
false |
json |
自定义数据 json扩展数据 |
foot_title |
false |
string |
底部标题 如:查看详情 |
target_type |
false |
string |
打开方式 1:内置浏览器(默认) 2:系统浏览器 |
ctype |
false |
string |
会话类型 0:单聊(默认) 1:群组 |
Return
{"status":1,"code":0,"msg":"","data":"sender或sender_account,recver或recver_account,recver_account格式 [\"test1\",\"test2\"]"}