com.foxinmy.weixin4j.response
Class VoiceResponse

java.lang.Object
  extended by com.foxinmy.weixin4j.response.VoiceResponse
All Implemented Interfaces:
WeixinResponse

public class VoiceResponse
extends Object
implements WeixinResponse

回复语音消息

Since:
JDK 1.6
Author:
jinyu(foxinmy@gmail.com)
See Also:

Constructor Summary
VoiceResponse(String mediaId)
           
 
Method Summary
 String getMediaId()
           
 String getMsgType()
          回复的消息类型
 String toContent()
          回复的消息内容
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VoiceResponse

public VoiceResponse(String mediaId)
Method Detail

toContent

public String toContent()
Description copied from interface: WeixinResponse
回复的消息内容

Specified by:
toContent in interface WeixinResponse
Returns:

getMediaId

public String getMediaId()

getMsgType

public String getMsgType()
Description copied from interface: WeixinResponse
回复的消息类型

Specified by:
getMsgType in interface WeixinResponse
Returns:


Copyright © 2014–2017. All rights reserved.