Open jason-answer opened 4 years ago
后端发送以 web 端用户发送自定义系统消息,原生安卓可以收到,但是web端用户收不到这条消息, 如果无From_Account 字段,Web和Android都可以收到,如果指定用户,并且用户为web端用户,该消息无法接收。
请求接口https://avc.qcloud.com/im/APITester/APITester.html#v4/group_open_http_svc/send_group_msg 请求报文 { "GroupId": "ROOM@266", "Random": 83465, "From_Account": "DU-1", "MsgBody": [ { "MsgType": "TIMCustomElem", "MsgContent": { "Data": "{\"data\":{\"userName\":\"Jason\",\"tipText\":\"关闭直播间提示语\",\"pic\":\"[图片]http://www.baidu.com\",\"userId\":\"1\",\"orderDealerName\":\"名片的的的的\"},\"type\":1}", "Desc": "notification", "Ext": "url", "Sound": "dingdong.aiff" } } ] }
{ "GroupId": "ROOM@266", "Random": 83465, "From_Account": "DU-1", "MsgBody": [ { "MsgType": "TIMCustomElem", "MsgContent": { "Data": "{\"data\":{\"userName\":\"Jason\",\"tipText\":\"关闭直播间提示语\",\"pic\":\"[图片]http://www.baidu.com\",\"userId\":\"1\",\"orderDealerName\":\"名片的的的的\"},\"type\":1}", "Desc": "notification", "Ext": "url", "Sound": "dingdong.aiff" } } ] }
你好web 4.5.45版本,运行官方demo,我这边会出现一个502错误,请问您这边有吗?
502 问题不影响正常使用,此问题我们已经在推进解决中
后端发送以 web 端用户发送自定义系统消息,原生安卓可以收到,但是web端用户收不到这条消息, 如果无From_Account 字段,Web和Android都可以收到,如果指定用户,并且用户为web端用户,该消息无法接收。
请求接口https://avc.qcloud.com/im/APITester/APITester.html#v4/group_open_http_svc/send_group_msg 请求报文
{ "GroupId": "ROOM@266", "Random": 83465, "From_Account": "DU-1", "MsgBody": [ { "MsgType": "TIMCustomElem", "MsgContent": { "Data": "{\"data\":{\"userName\":\"Jason\",\"tipText\":\"关闭直播间提示语\",\"pic\":\"[图片]http://www.baidu.com\",\"userId\":\"1\",\"orderDealerName\":\"名片的的的的\"},\"type\":1}", "Desc": "notification", "Ext": "url", "Sound": "dingdong.aiff" } } ] }