weixin.popular.bean.message.preview.ImagePreview Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weixin-popular Show documentation
Show all versions of weixin-popular Show documentation
The weixin-popular is a JAVA SDK for weixin. Weixin web url is https://mp.weixin.qq.com.
package weixin.popular.bean.message.preview;
import java.util.HashMap;
import java.util.Map;
public class ImagePreview extends Preview{
private Map image = new HashMap();
public ImagePreview(String media_id) {
super();
this.setMsgtype("image");
image.put("media_id", media_id);
}
public Map getImage() {
return image;
}
public void setImage(Map image) {
this.image = image;
}
}