weixin.popular.bean.message.massmessage.MassVoiceMessage 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.massmessage;
import java.util.HashMap;
import java.util.Map;
public class MassVoiceMessage extends MassMessage{
private Map voice;
public MassVoiceMessage(String media_id) {
super();
voice = new HashMap();
voice.put("media_id",media_id);
super.msgtype = "voice";
}
public Map getVoice() {
return voice;
}
public void setVoice(Map voice) {
this.voice = voice;
}
}