com.foxinmy.weixin4j.response
Class ImageResponse

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

public class ImageResponse
extends Object
implements WeixinResponse

回复图片消息

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

Constructor Summary
ImageResponse(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

ImageResponse

public ImageResponse(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.