MCPcopy Create free account
hub / github.com/Devo919/Gewechat / postAppMsg

Method postAppMsg

src/main/java/api/base/MessageApi.java:112–118  ·  view source on GitHub ↗

发送appmsg消息

(String appId, String toWxid, String appmsg)

Source from the content-addressed store, hash-verified

110 * 发送appmsg消息
111 */
112 public static JSONObject postAppMsg(String appId, String toWxid, String appmsg) {
113 JSONObject param = new JSONObject();
114 param.put("appId", appId);
115 param.put("toWxid", toWxid);
116 param.put("appmsg", appmsg);
117 return OkhttpUtil.postJSON("/message/postAppMsg", param);
118 }
119
120 /**
121 * 发送小程序消息

Callers

nothing calls this directly

Calls 1

postJSONMethod · 0.95

Tested by

no test coverage detected