package net.tooan.ynpay.wechat.agent.helper;
/**
* Created with IntelliJ IDEA.
* User: Jing
* Date: 13-10-19
* Time: 下午10:10
* <p/>
* 消息类型枚举
*/
public enum MsgType {
EVENT,
IMAGE,
LINK,
LOCATION,
TEXT,
NEWS,
MUSIC;
public static MsgType _(String msgTye) {
try {
return valueOf(msgTye.toUpperCase());
} catch (Exception e) {
return TEXT;
}
}
}