Package com.zone.weixin4j.response
Class VoiceResponse
- java.lang.Object
-
- com.zone.weixin4j.response.VoiceResponse
-
- All Implemented Interfaces:
WeixinResponse
public class VoiceResponse extends Object implements WeixinResponse
回复语音消息- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Constructor Summary
Constructors Constructor Description VoiceResponse(String mediaId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMediaId()
String
getMsgType()
回复的消息类型String
toContent()
回复的消息内容
-
-
-
Constructor Detail
-
VoiceResponse
public VoiceResponse(String mediaId)
-
-
Method Detail
-
toContent
public String toContent()
Description copied from interface:WeixinResponse
回复的消息内容- Specified by:
toContent
in interfaceWeixinResponse
- Returns:
-
getMediaId
public String getMediaId()
-
getMsgType
public String getMsgType()
Description copied from interface:WeixinResponse
回复的消息类型- Specified by:
getMsgType
in interfaceWeixinResponse
- Returns:
-
-