com.foxinmy.weixin4j.tuple
Class Voice

java.lang.Object
  extended by com.foxinmy.weixin4j.tuple.Image
      extended by 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

Constructor Summary
Voice(String mediaId)
           
 
Method Summary
 String getMessageType()
          消息类型
 
Methods inherited from class com.foxinmy.weixin4j.tuple.Image
getMediaId, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Voice

public Voice(String mediaId)
Method Detail

getMessageType

public String getMessageType()
Description copied from interface: Tuple
消息类型

Specified by:
getMessageType in interface Tuple
Overrides:
getMessageType in class Image
Returns:


Copyright © 2014–2017. All rights reserved.