com.foxinmy.weixin4j.tuple.Voice Maven / Gradle / Ivy
package com.foxinmy.weixin4j.tuple;
import com.alibaba.fastjson.annotation.JSONCreator;
import com.alibaba.fastjson.annotation.JSONField;
/**
* 语音对象
*
* 可用于「客服消息」「群发消息」
*
*
* @className Voice
* @author jinyu([email protected])
* @date 2014年9月29日
* @since JDK 1.6
* @see
*/
public class Voice extends Image implements NotifyTuple {
private static final long serialVersionUID = 8853054484809101524L;
@Override
public String getMessageType() {
return "voice";
}
@JSONCreator
public Voice(@JSONField(name = "mediaId") String mediaId) {
super(mediaId);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy