- 客服接口-发消息 回复小程序客服消息限制?
AppID(小程序ID) wx10c8ece098d9e360 原始ID gh_2ae70b84b82d openid:oW6Hc4hJTcmZacL5ubqU9Z_Piqig API: [代码]https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=ACCESS_TOKEN[代码]API参数: 1. 图文消息 [代码]{ "touser":"OPENID", "msgtype":"news", "news":{ "articles": [ { "title":"Happy Day", "description":"Is Really A Happy Day", "url":"URL", "picurl":"PIC_URL" } ] } }[代码]2. 菜单消息 [代码]{ "touser": "OPENID" "msgtype": "msgmenu", "msgmenu": { "head_content": "您对本次服务是否满意呢? " "list": [ { "id": "101", "content": "满意" }, { "id": "102", "content": "不满意" } ], "tail_content": "欢迎再次光临" } }[代码]3.文字消息 [代码]{ "touser":"OPENID", "msgtype":"text", "text": { "content":"Hello World" } }[代码]返回信息: 图文消息返回值[图片] 菜单消息返回值[图片] 文字消息返回值 [图片] 时间: 2019.8.1 9:00 问题描述:按照小程序客服文档所述,使用客服接口发消息,只有文字形式是可以正常发送的,其他形式全部返回45162错误码,请问是为什么?大量第三方小程序客服都支持多种类型信息的发送,为什么我不行呢?主体为大陆公司非海外
2019-08-01 - 小程序发送图文客服消息跳转外链API问题
- 需求的场景描述(希望解决的问题) 现在使用https://api.weixin.qq.com/cgi-bin/message/custom/send 发送图文消息(点击跳转到外链) 接口发送跳转外链图文 提示45162 invalid type hint 提交参数 { "touser":"o4ZX-4-pg1HoRDbqmniqTDXn2vNA", "msgtype":"news", "news":{ "articles": [ { "title":"Happy Day", "description":"Is Really A Happy Day", "url":"https://m.dianping.com/cube/evoke/meituan.html?url=imeituan%3A%2F%2Fwww.meituan.com%2Fhome%3Flch%3Dagroup_bwxapp_cpoidetail_d&from=singlemessage", "picurl":"http://mmbiz.qpic.cn/mmbiz_jpg/ZbkA0u9Cia1vRc8JicKgHod1fKBc7UVHd28c1zsZPoySBicVF0V1v0pDJ0BHFia6e3jCDclII5wRI7XzNFoAziaibwBA/0" } ] } } - 希望提供的能力 [图片] 想知道用那种方式发送客服消息可以实现这种效果,点击后可以跳转到我制定的外链。
2019-07-25 - 客服消息发送图文消息报45162
发送其他消息都正常。 [ log ] array ( 'touser' => 'opqv9432332atFAZnghrX5PDbY', 'msgtype' => 'news', 'news' => array ( 'articles' => array ( 'title' => '修罗!', 'description' => '一起嗨!', 'url' => 'www.baidu.com', 'picurl' => 'ed2bd3a0085dd0d786a55653dec0d59e.gif', ), ), ) [ log ] array ( 'errcode' => 45162, 'errmsg' => 'invalid type hint: [lGhxNA06434106]', )
2018-08-26 - Cant send messages with image
Trying to send image to a user: { "touser":"oyans5xvC4MbMe36HMzjpSPQFNw4", "msgtype":"image", "image": { "media_id":"uRKZkDkWtsvyO4fz0cp0KKt_Yzexs9g2S9PZFLT3iNKbRoObADrChTD845TaNtrI" } } Response is: {"errcode":45162,"errmsg":"invalid type hint: [bX1RwA05898641]"} Same works when using sandbox account. Please help.
2019-02-25 - 客服消息发送图文消息报45162
客服消息调用接口发送消息。 文字,图片消息均正常。 图文消息一直报【 errcode:45162,errmsg:invalid type hint: [Px9axa0096ge29] 】 请求json { "msgtype": "news", "touser": "oiLTs0HiBbpdDxttFiPbqfPyh768", "news": { "articles": [{ "title": "测试客服消息", "description": "测试客服消息描述", "url": "http://baidu.com", "picurl": "https://res.wx.qq.com/wxopenforumres/zh_CN/htmledition/comm_htmledition/style/base/layout_head_z_@23793d0.png" }] } }
2018-05-27 - 第三方平台 微信小程序客服,推送图文消息,返回45162
openid oKdL10MExU7OsLZqrWmcmZvJb1mc appid wx846fc2842dc760bb 我发送小程序图文消息,一直返回 45162 直接发送文字消息 没有问题 [图片] [图片] {"msgtype":"news","touser":"oKdL10MExU7OsLZqrWmcmZvJb1mc","news":{"title":"EasyWeChat","author":"overtrue","content":"EasyWeCha","thumb_media_id":"sBgIf5Oy2NI5Io7kH_spX_g3IVcwV7R89iRsE7AKyMEQQkewJinRjbSSl4i6wzWn","content_source_url":"http:\/\/open.yixd.cn","show_cover_pic":1}}
2019-07-19 - 微信小程序客服发送文章类型消息提示45162
错误返回信息提示: array:2 [ "errcode" => 45162 "errmsg" => "invalid type hint: [OOFQna04484120]"]
2019-07-29