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

Method postNameCard

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

发送名片消息

(String appId, String toWxid, String nickName, String nameCardWxid)

Source from the content-addressed store, hash-verified

86 * 发送名片消息
87 */
88 public static JSONObject postNameCard(String appId, String toWxid, String nickName, String nameCardWxid) {
89 JSONObject param = new JSONObject();
90 param.put("appId", appId);
91 param.put("toWxid", toWxid);
92 param.put("nickName", nickName);
93 param.put("nameCardWxid", nameCardWxid);
94 return OkhttpUtil.postJSON("/message/postNameCard", param);
95 }
96
97 /**
98 * 发送emoji消息

Callers

nothing calls this directly

Calls 1

postJSONMethod · 0.95

Tested by

no test coverage detected