weixin.popular.bean.message.preview.MpnewsPreview 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.
The newest version!
package weixin.popular.bean.message.preview;
import java.util.HashMap;
import java.util.Map;
public class MpnewsPreview extends Preview{
private Map mpnews = new HashMap();
public MpnewsPreview(){
}
public MpnewsPreview(String media_id) {
super();
this.setMsgtype("mpnews");
mpnews.put("media_id", media_id);
}
public Map getMpnews() {
return mpnews;
}
public void setMpnews(Map mpnews) {
this.mpnews = mpnews;
}
}