Class 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:
    com.foxinmy.weixin4j.message.ImageMessage, com.foxinmy.weixin4j.message.LinkMessage, com.foxinmy.weixin4j.message.LocationMessage, com.foxinmy.weixin4j.message.TextMessage, com.foxinmy.weixin4j.message.VideoMessage, com.foxinmy.weixin4j.message.VoiceMessage, com.foxinmy.weixin4j.message.event.EventMessage, com.foxinmy.weixin4j.message.event.LocationEventMessage, com.foxinmy.weixin4j.message.event.MenuEventMessage, com.foxinmy.weixin4j.message.event.MenuLocationEventMessage, com.foxinmy.weixin4j.message.event.MenuPhotoEventMessage, com.foxinmy.weixin4j.message.event.MenuScanEventMessage, com.foxinmy.weixin4j.mp.event.KfCloseEventMessage, com.foxinmy.weixin4j.mp.event.KfCreateEventMessage, com.foxinmy.weixin4j.mp.event.KfSwitchEventMessage, com.foxinmy.weixin4j.mp.event.MassEventMessage, com.foxinmy.weixin4j.mp.event.ScanEventMessage, com.foxinmy.weixin4j.mp.event.ScribeEventMessage, com.foxinmy.weixin4j.mp.event.TemplatesendjobfinishMessage, com.foxinmy.weixin4j.qy.event.BatchjobresultMessage, com.foxinmy.weixin4j.qy.event.EnterAgentEventMessage, com.foxinmy.weixin4j.qy.event.ScribeEventMessage, Serialized Form
    • 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