weixin.popular.bean.message.preview.TextPreview 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 TextPreview extends Preview{
private Map text = new HashMap();
public TextPreview(String content) {
super();
this.setMsgtype("text");
text.put("content", content);
}
public Map getText() {
return text;
}
public void setText(Map text) {
this.text = text;
}
}