发送链接消息
(String appId, String toWxid, String title, String desc, String linkUrl, String thumbUrl)
| 72 | * 发送链接消息 |
| 73 | */ |
| 74 | public static JSONObject postLink(String appId, String toWxid, String title, String desc, String linkUrl, String thumbUrl) { |
| 75 | JSONObject param = new JSONObject(); |
| 76 | param.put("appId", appId); |
| 77 | param.put("toWxid", toWxid); |
| 78 | param.put("title", title); |
| 79 | param.put("desc", desc); |
| 80 | param.put("linkUrl", linkUrl); |
| 81 | param.put("thumbUrl", thumbUrl); |
| 82 | return OkhttpUtil.postJSON("/message/postLink", param); |
| 83 | } |
| 84 | |
| 85 | /** |
| 86 | * 发送名片消息 |