All Downloads are FREE. Search and download functionalities are using the official Maven repository.

weixin.popular.bean.message.preview.VoicePreview Maven / Gradle / Ivy

Go to download

The weixin-popular is a JAVA SDK for weixin. Weixin web url is https://mp.weixin.qq.com.

There is a newer version: 2.8.32
Show newest version
package weixin.popular.bean.message.preview;

import java.util.HashMap;
import java.util.Map;

public class VoicePreview extends Preview{

	private Map voice = new HashMap();

	public VoicePreview(){

	}
	public VoicePreview(String media_id) {
		super();
		this.setMsgtype("voice");
		voice.put("media_id", media_id);
	}

	public Map getVoice() {
		return voice;
	}

	public void setVoice(Map voice) {
		this.voice = voice;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy