weixin.popular.bean.message.preview.MusicPreview 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 MusicPreview extends Preview {
private Map music = new HashMap();
public MusicPreview(String media_id) {
super();
this.setMsgtype("music");
music.put("media_id", media_id);
}
public Map getMusic() {
return music;
}
public void setMusic(Map music) {
this.music = music;
}
}