Package com.zone.weixin4j.request
Class WeixinMessage
- java.lang.Object
-
- com.zone.weixin4j.request.WeixinMessage
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EventMessage
,ImageMessage
,LinkMessage
,LocationMessage
,TextMessage
,VideoMessage
,VoiceMessage
public class WeixinMessage extends Object implements Serializable
微信消息基类- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
ImageMessage
,LinkMessage
,LocationMessage
,TextMessage
,VideoMessage
,VoiceMessage
,EventMessage
,LocationEventMessage
,MenuEventMessage
,MenuLocationEventMessage
,MenuPhotoEventMessage
,MenuScanEventMessage
,KfCloseEventMessage
,KfCreateEventMessage
,KfSwitchEventMessage
,MassEventMessage
,ScanEventMessage
,ScribeEventMessage
,TemplatesendjobfinishMessage
,BatchjobresultMessage
,EnterAgentEventMessage
,ScribeEventMessage
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WeixinMessage()
WeixinMessage(String msgType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAgentId()
long
getCreateTime()
Date
getFormatCreateTime()
MessageType
getFormatMsgType()
String
getFromUserName()
long
getMsgId()
String
getMsgType()
String
getToUserName()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
WeixinMessage
public WeixinMessage()
-
WeixinMessage
public WeixinMessage(String msgType)
-
-
Method Detail
-
getToUserName
public String getToUserName()
-
getFromUserName
public String getFromUserName()
-
getCreateTime
public long getCreateTime()
-
getFormatCreateTime
public Date getFormatCreateTime()
-
getMsgType
public String getMsgType()
-
getFormatMsgType
public MessageType getFormatMsgType()
-
getMsgId
public long getMsgId()
-
getAgentId
public String getAgentId()
-
-