From fcd031632075015fbd4a23e7d3a935a295463982 Mon Sep 17 00:00:00 2001 From: Allen Date: Mon, 22 Apr 2019 11:29:24 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E6=9B=B4=E6=96=B0readme=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c1c463b..f6687f6 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ wechat.autoLogin(); ```java // 通过userName发送文本消息 -JSONObject sendText(String content, String userName); +JSONObject sendTextToUserName(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 sendImage(String userName, byte[] mediaData, String mediaName, ContentType contentType); -JSONObject sendImage(String userName, File image); +JSONObject sendImageToUserName(String userName, byte[] mediaData, String mediaName, ContentType contentType); +JSONObject sendImageToUserName(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 sendVideo(String userName, byte[] mediaData, String mediaName, ContentType contentType); -JSONObject sendVideo(String userName, File video); +JSONObject sendVideoToUserName(String userName, byte[] mediaData, String mediaName, ContentType contentType); +JSONObject sendVideoToUserName(String userName, File video); // 通过昵称发送视频消息 JSONObject sendVideoToNickName(String nickName, byte[] mediaData, String mediaName, ContentType contentType); JSONObject sendVideoToNickName(String nickName, File video);