
top.hmtools.wxmp.message.reply.model.ReplyTextMessage Maven / Gradle / Ivy
The newest version!
package top.hmtools.wxmp.message.reply.model;
import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import top.hmtools.wxmp.core.model.message.BaseMessage;
import top.hmtools.wxmp.core.model.message.enums.MsgType;
/**
* 回复文本消息
* {@code
*
1348831860
* }
*
* @author Hybomyth
*
*/
public class ReplyTextMessage extends BaseMessage{
/**
*
*/
private static final long serialVersionUID = 8090390109332033707L;
/**
* 文本消息内容
*/
@XStreamAlias("Content")
private String content;
public ReplyTextMessage() {
this.msgType = MsgType.text;
}
@Override
public void setMsgType(MsgType msgType) {
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public static long getSerialversionuid() {
return serialVersionUID;
}
@Override
public void configXStream(XStream xStream) {
}
@Override
public String toString() {
return "TextMessage [content=" + content + ", toUserName=" + toUserName + ", fromUserName=" + fromUserName
+ ", createTime=" + createTime + ", msgType=" + msgType + ", msgId=" + msgId + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy