发送消息[兼容3.0]
接口地址
[接口服务器地址]/api/message/send_user.html
请求方法
POST
Request URL
| 名称 | 必选 | 说明 |
|---|
Request Body
| 名称 | 必选 | 类型 | 说明 |
|---|---|---|---|
| send_user | true | string | 发送者帐号 |
| recver_user | true | string | 接收者帐号 |
| subject | true | string | 标题 |
| msg_type | true | string | 消息类型 text,image,file,voice,shoot,location,app,link |
| content | false | string | 内容 <a href='/docs/integrate/sendmsg.html' target='_blank'>查看消息内容格式说明</a> |
| msgexttype | false | string | 消息的扩展类型 可用来消息分类 如 schedule |
| msg_flag | true | string | 消息FLAG |
| content_type | true | string | 内容类型 |
调用样例及调试工具
测试接口返回结果(成功)
{"status":1,"code":"0","msg":"","data":[]}