com.foxinmy.weixin4j.request
Class WeixinMessage

java.lang.Object
  extended by com.foxinmy.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
WeixinMessage()
           
WeixinMessage(String msgType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAgentId()
           
 long getCreateTime()
           
 Date getFormatCreateTime()
           
 MessageType getFormatMsgType()
           
 String getFromUserName()
           
 long getMsgId()
           
 String getMsgType()
           
 String getToUserName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014–2017. All rights reserved.