消息收藏添加
接口地址
[接口服务器地址]/api/im/favorite_add.html
请求方法
POST
Request URL
名称 | 必选 | 说明 |
---|
Request Body
名称 | 必选 | 类型 | 说明 |
---|---|---|---|
user_id | true | string | 用户ID |
senderid | true | string | 发送者ID |
sendername | true | string | 发送者姓名 |
source | false | string | 来源 |
msgid | true | string | 消息ID |
fileids | false | string | 文件ID |
contenttype | true | string | 内容类型 |
content | true | string | 内容 |
msgtype | true | string | 消息类型 |
keyword | false | string | 关键字 |
调用样例及调试工具
测试接口返回结果(成功)
{"status":1,"code":"0","msg":"","data":""}