package org.ruoyi.common.wechat.itchat4j.face; import org.ruoyi.common.wechat.itchat4j.beans.BaseMsg; /** * 消息处理接口 * * @author https://github.com/yaphone * @date 创建时间:2017年4月20日 上午12:13:49 * @version 1.0 * * @author WesleyOne 修改 */ public interface IMsgHandlerFace { /** * * @author https://github.com/yaphone * @date 2017年4月20日 上午12:15:00 * @param msg * @return */ void textMsgHandle(BaseMsg msg); /** * 处理图片消息 * * @author https://github.com/yaphone * @date 2017年4月21日 下午11:07:06 * @param msg * @return */ void picMsgHandle(BaseMsg msg); /** * 处理声音消息 * * @author https://github.com/yaphone * @date 2017年4月22日 上午12:09:44 * @param msg * @return */ void voiceMsgHandle(BaseMsg msg); /** * 处理小视频消息 * * @author https://github.com/yaphone * @date 2017年4月23日 下午12:19:50 * @param msg * @return */ void videoMsgHandle(BaseMsg msg); /** * 处理名片消息 * * @author https://github.com/yaphone * @date 2017年5月1日 上午12:50:50 * @param msg * @return */ void nameCardMsgHandle(BaseMsg msg); /** * 处理系统消息 * * @author Relyn * @date 2017年6月21日17:43:51 * @param msg * @return */ void sysMsgHandle(BaseMsg msg); /** * 处理确认添加好友消息 * * @date 2017年6月28日 下午10:15:30 * @param msg * @return */ void verifyAddFriendMsgHandle(BaseMsg msg); /** * 处理收到的文件消息 * * @date 2017年7月21日 下午11:59:14 * @param msg * @return */ void mediaMsgHandle(BaseMsg msg); }