Package com.foxinmy.weixin4j.tuple
Class Voice
- java.lang.Object
-
- com.foxinmy.weixin4j.tuple.Image
-
- com.foxinmy.weixin4j.tuple.Voice
-
- All Implemented Interfaces:
ChatTuple
,MassTuple
,NotifyTuple
,Tuple
,Serializable
public class Voice extends Image implements NotifyTuple
语音对象可用于「客服消息」「群发消息」
- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessageType()
消息类型-
Methods inherited from class com.foxinmy.weixin4j.tuple.Image
getMediaId, toString
-
-
-
-
Constructor Detail
-
Voice
public Voice(String mediaId)
-
-
Method Detail
-
getMessageType
public String getMessageType()
Description copied from interface:Tuple
消息类型- Specified by:
getMessageType
in interfaceTuple
- Overrides:
getMessageType
in classImage
- Returns:
-
-