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

Method postVideo

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

发送视频消息

(String appId, String toWxid, String videoUrl, String thumbUrl,Integer videoDuration)

Source from the content-addressed store, hash-verified

59 * 发送视频消息
60 */
61 public static JSONObject postVideo(String appId, String toWxid, String videoUrl, String thumbUrl,Integer videoDuration) {
62 JSONObject param = new JSONObject();
63 param.put("appId", appId);
64 param.put("toWxid", toWxid);
65 param.put("videoUrl", videoUrl);
66 param.put("thumbUrl", thumbUrl);
67 param.put("videoDuration", videoDuration);
68 return OkhttpUtil.postJSON("/message/postVideo", param);
69 }
70
71 /**
72 * 发送链接消息

Callers

nothing calls this directly

Calls 1

postJSONMethod · 0.95

Tested by

no test coverage detected