me.hao0.wechat.model.message.receive.msg.RecvTextMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wechat Show documentation
Show all versions of wechat Show documentation
A Lightweight Wechat Component
package me.hao0.wechat.model.message.receive.msg;
import me.hao0.wechat.model.message.receive.RecvMessageType;
/**
* 文本消息
* Author: haolin
* Email: [email protected]
* Date: 9/11/15
*/
public class RecvTextMessage extends RecvMsg {
private static final long serialVersionUID = -8070100690774814611L;
/**
* 文本内容
*/
private String content;
public RecvTextMessage(RecvMsg m){
super(m);
this.msgId = m.msgId;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
@Override
public String getMsgType() {
return RecvMessageType.TEXT.value();
}
@Override
public String toString() {
return "RecvTextMessage{" +
"content='" + content + '\'' +
"} " + super.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy