All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sinofool.wechat.mp.msg.TextMessage Maven / Gradle / Ivy

The newest version!
package net.sinofool.wechat.mp.msg;

public abstract class TextMessage implements Message {
    private String toUserName;
    private String fromUserName;
    private int createTime;
    private String content;

    @Override
    public String getMsgType() {
        return "text";
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return this.content;
    }
    public String getToUserName() {
        return this.toUserName;
    }

    public void setToUserName(String toUserName) {
        this.toUserName = toUserName;
    }

    public String getFromUserName() {
        return this.fromUserName;
    }

    public void setFromUserName(String fromUserName) {
        this.fromUserName = fromUserName;
    }

    public int getCreateTime() {
        return createTime;
    }

    public void setCreateTime(int createTime) {
        this.createTime = createTime;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy