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

com.firefly.wechat.model.app.ImageMessageRequest Maven / Gradle / Ivy

package com.firefly.wechat.model.app;

import java.io.Serializable;

/**
 * @author Pengtao Qiu
 */
public class ImageMessageRequest extends CommonMessageRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    private ImageMessageContent image;

    public ImageMessageRequest() {
        msgtype = "image";
    }

    public ImageMessageContent getImage() {
        return image;
    }

    public void setImage(ImageMessageContent image) {
        this.image = image;
    }

    @Override
    public String toString() {
        return "ImageMessageRequest{" +
                "image=" + image +
                ", touser='" + touser + '\'' +
                ", msgtype='" + msgtype + '\'' +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy