2
0
mirror of https://gitee.com/hotlcc/wechat4j.git synced 2025-07-28 11:39:33 +08:00

Compare commits

..

No commits in common. "56791e796531696bdea1518e6b50544bfa77fef1" and "3749cdbc214b00b2643c148da9c21ad33696208b" have entirely different histories.

View File

@ -29,7 +29,7 @@ wechat.autoLogin();
```java
// 通过userName发送文本消息
JSONObject sendTextToUserName(String content, String userName);
JSONObject sendText(String content, String userName);
// 通过昵称发送文本消息
JSONObject sendTextToNickName(String content, String nickName);
// 通过备注名发送文本消息
@ -42,8 +42,8 @@ JSONObject sendText(String userName, String nickName, String remarkName, String
```java
// 通过userName发送图片消息
JSONObject sendImageToUserName(String userName, byte[] mediaData, String mediaName, ContentType contentType);
JSONObject sendImageToUserName(String userName, File image);
JSONObject sendImage(String userName, byte[] mediaData, String mediaName, ContentType contentType);
JSONObject sendImage(String userName, File image);
// 通过昵称发送图片消息
JSONObject sendImageToNickName(String nickName, byte[] mediaData, String mediaName, ContentType contentType);
JSONObject sendImageToNickName(String nickName, File image);
@ -59,8 +59,8 @@ JSONObject sendImage(String userName, String nickName, String remarkName, File i
```java
// 通过userName发送视频消息
JSONObject sendVideoToUserName(String userName, byte[] mediaData, String mediaName, ContentType contentType);
JSONObject sendVideoToUserName(String userName, File video);
JSONObject sendVideo(String userName, byte[] mediaData, String mediaName, ContentType contentType);
JSONObject sendVideo(String userName, File video);
// 通过昵称发送视频消息
JSONObject sendVideoToNickName(String nickName, byte[] mediaData, String mediaName, ContentType contentType);
JSONObject sendVideoToNickName(String nickName, File video);