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